/// 除去所有在html元素中标记
public static string striphtml(string strhtml)
 {
 string stroutput=strhtml;
 Regex regex = new Regex(@"<[^>]+>|</[^>]+>");
 stroutput = regex.Replace(stroutput,"");
 return stroutput;
 
 }

posted on 2007-01-24 11:03  HenryZhang  阅读(157)  评论(0编辑  收藏  举报