剔除editor编辑器中的HTML标签

1.剔除editor编辑器中的HTML标签

 public static string striphtml(string strhtml)
    {
        string stroutput = strhtml;
        Regex regex = new Regex(@"<[^>]+>|</[^>]+>");

        stroutput = regex.Replace(stroutput, "");
        return stroutput;

    }

原文地址:https://www.cnblogs.com/stjwy/p/6025632.html