Skip to main content
Home / Code Snippets / JavaScript / Strip HTML Tags in JavaScript

Strip HTML Tags in JavaScript

var StrippedString = OriginalString.replace(/(<([^>]+)>)/ig,"");