public static String StripHTML(string s)
{
if (String.IsNullOrEmpty(s))
return String.Empty;
return Regex.Replace(s, "<.*?>", String.Empty);
}
388200cookie-checkC# strip HTML
public static String StripHTML(string s)
{
if (String.IsNullOrEmpty(s))
return String.Empty;
return Regex.Replace(s, "<.*?>", String.Empty);
}