/// 除去所有在HTML元素中标记
public static string StripHTML(string strHtml)
{
string strOutput=strHtml;
Regex regex = new Regex("<[^>]+>|</[^>]+>");
strOutput = regex.Replace(strOutput,"");
return strOutput;
}
/// 除去所有在HTML元素中标记
public static string StripHTML(string strHtml)
{
string strOutput=strHtml;
Regex regex = new Regex("<[^>]+>|</[^>]+>");
strOutput = regex.Replace(strOutput,"");
return strOutput;
}