javascript 实现replaceall的功能

来源:互联网 发布:软件系统测试计划书 编辑:程序博客网 时间:2024/05/01 22:45

string.replace(new RegExp(s1,"gm"),s2)