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

string RemoveHtml(string content)
{
    string regexstr = @"<[^>]*>";
    return Regex.Replace(content, regexstr, string.Empty, RegexOptions.IgnoreCase);
}
posted @ 2008-06-24 12:36  彭成刚  阅读(899)  评论(2编辑  收藏  举报