正则表达式剔除标签

            this.resultData.title= this.resultData.title.replace(/(<([^>]+)>)/ig,"").replace(/[\r\n]/g,"");

  

posted @ 2020-09-09 16:15  走在路上的张先森  阅读(304)  评论(0编辑  收藏  举报