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

前端开发   发布日期:2025年06月16日   浏览次数:145
string RemoveHtml(string content)
{
    string regexstr = @"<[^>]*>";
    return Regex.Replace(content, regexstr, string.Empty, RegexOptions.IgnoreCase);
}

以上就是RemoveHtml 去除Html函数,常用哦。。的详细内容,更多关于RemoveHtml 去除Html函数,常用哦。。的资料请关注九品源码其它相关文章!