摘要: 这里以a标签为例 a标签的href var str = "Lorem ipsum text 1 Lorem ipsum text 2"; str.replace(/(. ?)/g, function(match, g1) { console.log(g1); }); // text 1 text 2 阅读全文
posted @ 2018-02-08 18:02 mayufo 阅读(13093) 评论(0) 推荐(0) 编辑