/**
* String原型加入,replaceAll方法
* @param code
*/
String.prototype.replaceAll = function(s1,s2){
return this.replace(new RegExp(s1,"gm"),s2);
}
/**
* String原型加入,replaceAll方法
* @param code
*/
String.prototype.replaceAll = function(s1,s2){
return this.replace(new RegExp(s1,"gm"),s2);
}