Remove all HTML tags
</> WebStrip HTML tags to get plain text
$ echo "<h1>Title</h1><p>Hello <strong>world</strong></p>" | strip-html (input) => {
const el = document.createElement("div");
el.innerHTML = input;
return el.textContent || el.innerText || "";
}