RemoveHtml 去除Html函数,常用哦。。

string RemoveHtml(string content)

{

string regexstr = @"<[^>]*>";

return Regex.Replace(content, regexstr, string.Empty, RegexOptions.IgnoreCase);

}