// 除去所有在html元素中标记
using
System.Text.RegularExpressions;
public static string
striphtml(string strhtml)
{
string stroutput =
strhtml;
Regex regex = new
Regex(@"<[^>]+>|</[^>]+>");
stroutput = regex.Replace(stroutput,
"");
return
stroutput;
}
相关文章:
-
2022-12-23
-
2022-12-23
-
2022-01-29
-
2022-12-23
-
2022-12-23
-
2021-12-11
-
2021-10-18