当前位置: 代码迷 >> 综合 >> 正则过滤标签
  详细解决方案

正则过滤标签

热度:34   发布时间:2024-01-25 10:00:30.0
formatTrimContent: function () {return this.article.replace(/(\s{2})|<p[^>]+><\/p>|<strong[^>]+><\/strong>|style=\"[^>]+\"/g, "");},

 

  相关解决方案