Regex - Replace all instances except when found within anchor tags or image tags
Posted on 2008-06-23
I'm trying to create a "search/replace" page within my site. I would like to find a Regular Expression that will do the replacing in my web page content except when the word/phrase is found within an Anchor tag or Image tag or All tags.
Basically, my goal for the application is to have the search/replace ignore all HTML tags, and then by selecting checkboxes, I can allow it to replace within the different types of tags.