剔除editor编辑器中的HTML标签时间:2023-03-09 15:32:06 1.剔除editor编辑器中的HTML标签 public static string striphtml(string strhtml) { string stroutput = strhtml; Regex regex = new Regex(@"<[^>]+>|</[^>]+>"); stroutput = regex.Replace(stroutput, ""); return stroutput; }