Is there an easy way to take a string of html in JavaScript and strip out the html?
from CSS tricks:
https://css-tricks.com/snippets/javascript/strip-html-tags-in-javascript/
const originalString = ` Hey that's somthing `; const strippedString = originalString.replace(/(<([^>]+)>)/gi, ""); console.log(strippedString);
Hey that's somthing