Hello All,

I've been looking for a way to do search result highlighting with regular 
expressions, but I have only found some that handled all replacements of a 
word on a page, when in reality it should skip link code.

For example: if you search for something like "staff" it would highlight all 
"staff" on the page, BUT if the word "staff" was in a link it would change 
the link code like this:
a href="www.mysite.com/<font color="red">staff</font>"

Does anyone know of a regular expression replacement that would skip 
replacements within the a href code?  Google does a good job with this and I 
tried emailing them but I have not heard back.

Any help is much appreciated.

-Kevin



______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to