/// <summary>
/// 去除所有的html标签
/// </summary>
/// <param name="strhtml"></param>
/// <returns></returns>
public static string Removestriphtml(string strhtml)
{
string stroutput = strhtml;
Regex regex = new Regex(@"<[^>]+>|</[^>]+>");
stroutput = regex.Replace(stroutput, "");
return stroutput;
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-08-15
  • 2021-07-12
猜你喜欢
  • 2021-08-29
  • 2022-12-23
  • 2021-07-22
  • 2022-01-11
  • 2022-12-23
相关资源
相似解决方案