public static string RemoveHTML(string strHtml)
{
string strOutput=strHtml;
Regex regex = new Regex(@"<[^>]+>|</[^>]+>");
strOutput = regex.Replace(strOutput,"");
return strOutput;
}
{
string strOutput=strHtml;
Regex regex = new Regex(@"<[^>]+>|</[^>]+>");
strOutput = regex.Replace(strOutput,"");
return strOutput;
}
posted @ 2007-01-04 13:46 Don 阅读(89) 评论(0) 编辑
