You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Regex
I'm trying to either:
a. Match all text outside of multiple <pre> tags or
b. Match the newline character outside of multiple <pre> tags
I want to replace newlines with line breaks, but ignore text inside
<pre> tags. I've managed to match everything inside and including the
tags, but that's not exactly what I want. Any suggestions?
Jon
unread,
Aug 7, 2009, 9:27:25 AM8/7/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Regex
I don't know that I can edit my post...but I've changed my mind. Just
matching the text outside of <pre> tags won't do - it would end up
being just as much work as some other solutions in the end. I'm aiming
for a simple solution, so just need to match newlines outside of <pre>
tags. Thanks!