JS Strip_tags
let strippedString = originalString.replace(/(<([^>]+)>)/gi, "");
Vast Vicuña
let strippedString = originalString.replace(/(<([^>]+)>)/gi, "");
originalString.replaceAll(/(<([^>]+)>)/gi, "")
function stripHtml(html)
{
let tmp = document.createElement("DIV");
tmp.innerHTML = html;
return tmp.textContent || tmp.innerText || "";
}