c# remove html tags from string code example
Example: c# strip html tags
public static string StripHTML(string input)
{
return Regex.Replace(input, "<.*?>", String.Empty);
}
public static string StripHTML(string input)
{
return Regex.Replace(input, "<.*?>", String.Empty);
}