正则表达式匹配下html标记
public static string DeleteHTMLElement(string html)
{
html = Regex.Replace(html, "<[^>]*>{1}", "", RegexOptions.IgnoreCase);
html = html.Replace("\n", " ");
html = html.Replace("\t", " ");
html = html.Replace("\r", " ");
html = html.Replace(" ", " ");
html = html.Replace(""", " ");
return Regex.Replace(html, " \\s{2,}", " ");
}