If I have some HTML that looks like this:
This is some text that is being written with a high
text.replace(/?[^>]+(>|$)/g, "");