public string RemoveHtml(string str)
{
string temp = Regex.Replace(str, "<[^>]*>", "");
temp = temp.Replace(" ", " ").Replace("”", "”").Replace("“","“");
return temp ;
}
{
string temp = Regex.Replace(str, "<[^>]*>", "");
temp = temp.Replace(" ", " ").Replace("”", "”").Replace("“","“");
return temp ;
}
本文转自94cool博客园博客,原文链接:http://www.cnblogs.com/94cool/archive/2009/08/24/1552632.html,如需转载请自行联系原作者