var StrippedString = OriginalString.replace(/(<([^>]+)>)/ig,""); Source : https://css-tricks.com/snippets/javascript/strip-html-tags-in-javascript/