House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Replace Question: Part II

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

Replace Question: Part II

> > # REReplaceNoCase(answer, '(#search_string#)', '<span > Robert Harrison 06/27/2012 04:17 PM

06/27/2012 04:17 PM
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
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 26, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference