C#中除去所有在HTML元素中标记

  • C#中除去所有在HTML元素中标记

    /// 除去所有在HTML元素中标记 public static string StripHTML(string strHtml) { string strOutput=strHtml; Regex regex = new Regex(@"<[^>]+>|</[^>]+>");...2020-06-25 11:48