2013年12月19日

摘要: 去除html标记,比较实用,分享给大家。 /// /// 去除HTML标记 /// /// 包括HTML的源码 /// 已经去除后的文字 public static string NoHTML(string Htmlstring) { //删除脚本Htmlstring = Htmlstring.Replace("\r\n","");Htmlstring = Regex.Replace(Htmlstring,@"", @"", @"([\r\n])[\s]+", @"&(quot 阅读全文

posted @ 2013-12-19 12:25 剑灵 阅读(509) 评论(0) 推荐(0) 编辑


Copyright © 2024 剑灵
Powered by .NET 8.0 on Kubernetes