Showing posts with label Tags. Show all posts
Showing posts with label Tags. Show all posts

Monday, November 29, 2010

How to strip HTML tags out of a string

      static string StripHTML(string inputString)
{
return Regex.Replace
(inputString, "<.*?>", string.Empty);
}