`
freeman983
  • 浏览: 229940 次
社区版块
存档分类
最新评论

JS的replaceall

阅读更多
String.prototype.replaceAll  = function(s1,s2){  
return this.replace(new RegExp(s1,"gm"),s2);  
}   
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics