去除HTML代码得函数

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

 5
 6        去除html标签
posted @ 2006-04-12 12:45  Robin Zhang  阅读(909)  评论(2编辑  收藏  举报