zoukankan      html  css  js  c++  java
  • 去除HTML代码得函数

     1public static string StripHtmlXmlTags(string content)
     2        {
     3            return Regex.Replace(content, "<[^>]+>""", RegexOptions.IgnoreCase | RegexOptions.Compiled);
     4        }

     5
     6        去除html标签
  • 相关阅读:
    ff与ie 的关于js兼容性
    CSS清除浮动的方法
    java8 LocalDateTime
    BigDecimal
    JAVA将 Word 文档转换为 PDF
    Ionic4
    SpringBoot后端统一格式返回
    SpringBoot集成JWT
    Java Lombok
    SpringBoot 中通过 CORS 解决跨域问题
  • 原文地址:https://www.cnblogs.com/jillzhang/p/373132.html
Copyright © 2011-2022 走看看