I need to search for a
string of text, ideally using a regular expression, and then highlight the string by changing the background color (probably using a <span> tag). I have found solutions that will highlight individual words, but none seem to search across tags and apply the span tag in a way that doesn't corrupt the html. Any ideas?
Thanks.