[thelist] Regexp help?

Joshua Olson joshua at waetech.com
Fri Sep 19 12:33:20 CDT 2003


----- Original Message ----- 
From: "Dougal Campbell" <dougal at gunters.org>
Sent: Friday, September 19, 2003 12:05 PM


> I've been searching for a regexp that will let me do text replacements
> inside HTML text, but not within HTML tags themselves. In other words,
> if I had content like this:
>
>   <a href="/meta/RSS.xml" title="My RSS feed">Our RSS 2.0 feed</a>
>
> I want to be able to modify the text 'RSS' without breaking the link or
> the title attribute.

Dougal,

If you are able to translate from CF, I've posted a solution to this problem
here:

http://concepts.waetech.com/replace_inner_text/

HTH,

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com
706.210.0168



More information about the thelist mailing list