摘要:
public static string NoHTML(string html){ string[] strArray2 = new string[] { "font", "span", "div", "p" }; foreach (string str in strArray2) { string pattern = string.Format("</?{0}[^>]*?>", str); html = Regex.Replace(html, pattern, "& 阅读全文