摘要: 除了strong、em、p标签,其他标签全部清除: str = str.replace(/<(?!\/?strong|\/?em|\/?p)[^<>]*>/ig,'') 阅读全文
posted @ 2023-05-05 16:51 隔壁家的老王头 阅读(38) 评论(0) 推荐(0)