Hi,
I've got a javascript/regex scenario I was hoping to find a solution to.
Here’s the situation
We have been given the string "The quick brown fox jumped over the lazy sleeping dog."
We want to replace it with "The large yellow tiger jumped over the lazy sleeping cat".
Normally this would just be a search & replace, no problem.
But in the HTML page the sentence has HTML tags, so it might look like "The <b>quick brown</b> <span>fox</span> jumped over the <i>lazy</i> sleeping dog."
So, the string is the same as what we've been given to match, but we can't replace it because we don't know how to ignore the HTML tags.
How can we write a RegEx replace query to find and replace a string, but ignoring the HTML tags in the search string?
My colleagues and I have spent all mornign searching Google and other technical sites, but we can't figure out what the correct keywords to use are.
Thanks bundles to anyone who can help!!! 
- Ben
PS: Why we are doing this is we are trying to highlight phrases (not just words), using javascript. All of the javascript text highlighters we've found so far can't cope with HTML tags being part of the phrase!