eg:  var str="icon icon-1chkedchkedchked";

  var strNew=str.replace(new RegExp("chked","gm"),"")

则多次替换 字符串“chked” 之后的返回结果 strNew 为 “icon icon-1”:
05-11 22:35