0 Replies Latest reply on Jul 20, 2006 9:25 AM by jimmy.hunt

    Enhancing my ReplaceNoCase

    jimmy.hunt
      I've created a search functionality on my site and what it does now is highlights the words that the person has searched for. The problem I'm having is some of the text has urls in it. I don't want to replace the text in a url, because it is destroying the link. Any suggestions?

      Thanks!

      <CFSET resolution3 = ReplaceNoCase(resolution2, #url.keyword#, "<b><font style='background-color:##CCEDFF'>#url.keyword#</font></b>", "ALL")>