I have been trying to work through a RegEx that I could use to replace all < and > text strings, EXCEPT for when those strings are part of an HTML tag.
For example:
var str = "<p>The <b>value</b> <i>1</i> is < <u>2</u></p>"
Given the above example, I want a resultant string that looks like this:
var str = "<p>The <b>value</b> <i>1</i> is < <u>2</u></p>"