Skip to content

Instantly share code, notes, and snippets.

@vickyRuiz
Created March 13, 2014 21:54
Show Gist options
  • Save vickyRuiz/9537829 to your computer and use it in GitHub Desktop.
Save vickyRuiz/9537829 to your computer and use it in GitHub Desktop.
var StrippedString = OriginalString.replace(/(<([^>]+)>)/ig,"");
//From http://css-tricks.com/snippets/javascript/strip-html-tags-in-javascript/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment