去除HTML代码得函数

 1public static string StripHtmlXmlTags(string content)
 2        {
 3            return Regex.Replace(content, "<[^>]+>""", RegexOptions.IgnoreCase | RegexOptions.Compiled);
 4        }

 5
 6        去除html标签
posted @   Robin Zhang  阅读(914)  评论(2编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示