Skip to content

Instantly share code, notes, and snippets.

@evancummings
Created May 29, 2011 15:24
Show Gist options
  • Save evancummings/997855 to your computer and use it in GitHub Desktop.
Save evancummings/997855 to your computer and use it in GitHub Desktop.
Removing HTML Markup Characters from a String
protected string RemoveHTMLMarkup(string str)
{
return Regex.Replace(str, @"<(.|\n)*?>", String.Empty);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment