搜索出来后把~替换掉试试
var reg = /^~(.*[~]{2}.*)~/m; str = str.replace(reg,"$1"); alert(str);
87,992
社区成员
224,688
社区内容
加载中
试试用AI创作助手写篇文章吧