1// To remove all HTML tags use the ".replace(/<[^>]+>/g, '')" method.
2let myHTML= "<div><h1>Jimbo.</h1>\n<p>That's what she said</p></div>";
3let strippedHtml = myHTML.replace(/<[^>]+>/g, '');
4console.log(stripedHtml); // Jimbo. That's what she said