I'm trying (and failing) to create a regular expression that will search through a web page for a particular string, but not search within HTML tags.
This is for a search results screen that will highlight the search term, but I don't want the hightlights to be inserted into anchor tags for example, causing them to break.
Any help or tips would be greatly appreciated.