SyntaxFix
Write A Post
Hire A Developer
Questions
Use this to remove HTML tags from string in JavaScript:
const strippedString = htmlString.replace(/(<([^>]+)>)/gi, ""); console.log(strippedString);