Hi,

I'm trying to develop a regular expression that will find occurances of a given string 
that is NOT inside any HTML tag. Right now i have something like

(<[^>]*>)?#stringToFind#

This ends up finding _every_ occurance of #stringToFind#. And it also matches the 
beginning of any HTML tag. So this regex isn't very good. I spent a lot of time 
searching for such a regular expression online, but had absolutely no luck.

Can anyone give me a nudge in the right direction with the regex, or tell me where to 
find one that already exists? Thanks a lot.

Thanks
Mike Mertsock
Alfred University Web Team


___________________________________________________
Communicate with others using Lycos Mail for FREE!
http://mail.lycos.com 
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to