Find text NOT in an anchor tag.

View: New views
1 Messages — Rating Filter:   Alert me  

Find text NOT in an anchor tag.

by Ian Skinner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would like to search a piece of text for any instance of a word or
phrase, unless it is inside a set of anchor tags.

I.E.  Search for 'Foobar' and find it in 'This is a Foobar example, but
I do not want to find this <a href="foobarLink.cfm">Foobar<a> instance
of the word.'

I know I got an example of how to do this a couple of years ago, but I
can no longer find it in the regex list archive.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1135
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user837.14401.21