c#后台替换html标签的方法

 public static string ReplaceHtmlTag(string html)
        {
             string strText = System.Text.RegularExpressions.Regex.Replace(html, "<span>", "");
             strText = System.Text.RegularExpressions.Regex.Replace(strText, "</span>", "");
             strText = System.Text.RegularExpressions.Regex.Replace(strText,"</br>","");
            return strText;
        }
原文地址:https://www.cnblogs.com/superMay/p/4825847.html