Is there an easy way to take a string of html in JavaScript and strip out the html?
I just needed to strip out the tags and replace them with the text of the link.
This seems to work great.
htmlContent= htmlContent.replace(//g, ''); htmlContent= htmlContent.replace(/<\/a>/g, '');