|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Replace Question: Part II
Author: Robert Harrison
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:64034#351747
> > # REReplaceNoCase(answer, '(#search_string#)', '<span >
class="keyword">\1</span>', 'all')#
This works so wonderfully, I hate to ask a follow-up question, but I have to.
Is there a way I can apply this everywhere EXCEPT when the matching content is in
an HTML tag (like an HREF tag)?
Sorry, but this level of Regex is a bit over my regex skill level.
Robert Harrison
Director of Interactive Services
Austin & Williams
Advertising I Branding I Digital I Direct
125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788
T 631.231.6600 X 119 F 631.434.7022
http://www.austin-williams.com
Blog: http://www.austin-williams.com/blog
Twitter: http://www.twitter.com/austin_wi
|
May 26, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||