using System.Text.RegularExpressions;
public string RemoveHtml(string strHtml)//取出html标签
{
string strhtml = Regex.Replace(strHtml, " <.+?> ", " "清笑敬);
strhtml = Regex.Replace(strhtml, "
", "升历 "答慎, RegexOptions.IgnoreCase);
return strhtml;
} 正则表达式最方便