Strip HTML Tags
using System.Text.RegularExpressions;
...
public static string StripHTML(string htmlText)
{
return Regex.Replace(htmlText, "<(.|\n)*?>", "");
}
using System.Text.RegularExpressions;
...
public static string StripHTML(string htmlText)
{
return Regex.Replace(htmlText, "<(.|\n)*?>", "");
}