Loading

摘要: tempStr = tempStr.replace(/(<([^>]+)>)/ig,"").replace(/[\r\n]/g,""); //去除所有html标签<></>.去除所有换行符。 tempStr = tempStr.replace(/\s+/g,'#'); //所有的空格替换成 # 阅读全文
posted @ 2020-08-02 20:04 独行侠X 阅读(1630) 评论(3) 推荐(0) 编辑