public string Tohtml(string zifu)
        {
            string noStyle = zifu.Replace("&quot;", "\"").Replace("&lt;", "<").Replace("&gt;", ">").Replace("&quot;", "\"").Replace("&nbsp;", "");
            noStyle = Regex.Replace(noStyle, @"<[\w\W]*?>", "",
           RegexOptions.IgnoreCase);
            noStyle = Regex.Replace(noStyle, @"\s", "",
          RegexOptions.IgnoreCase);
            return noStyle;
        }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
猜你喜欢
  • 2022-02-22
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-11-05
相关资源
相似解决方案