文章分类 -  Asp.Net

摘要:/// /// 命名空间 using System.Text.RegularExpressions; /// 去除HTML标记 /// /// 包括HTML的源码 /// 已经去除后的文字 public static string NoHTML(string Htmlstring) { //删除脚本 Htmlstring = Regex.Replace(Htmlstring, @"", "", RegexOptions.IgnoreCase); //删除HTML Htmlstring = Regex.Replace(Htmlstring, @" 阅读全文
posted @ 2014-02-28 14:56 Snail1688 阅读(70) 评论(0) 推荐(0)