摘要:
//去除HTML标记publicstringNoHTML(stringHtmlstring){//删除脚本Htmlstring=Regex.Replace(Htmlstring,@"<script[^>]*?>.*?</script>","",RegexOptions.IgnoreCase);//删除HTMLHtmlstring=Regex.Replace(Htmlstring,@"<(.[^>]*)>","",RegexOptions.IgnoreCase);Htm 阅读全文
posted @ 2011-03-16 09:26
whh
阅读(266)
评论(0)
推荐(0)