On 27 Jan 2009, at 17:04, Adam Holt wrote:

I'm having some trouble figuring out how to do some regular expression
foo and thought maybe someone on here could help,

Basically i am trying to parse out special tags from html returned
from TinyMCE, and replace them with content for doing html to pdf
generation.

I've written a little gist page demonstrating what i need it to do: 
http://gist.github.com/53383


I'd probably not try and do this all in one regex. I'd run through line by line, if it matches the start line, save everything until it matches the ending line. Then you have your entire string.

C
---
Caius Durling
[email protected]
+44 (0) 7960 268 100
http://caius.name/

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to