js判断冒号,replace所有冒号

来源:互联网 发布:php extract函数 编辑:程序博客网 时间:2024/06/05 10:14


str=str.replace(new RegExp(/(:)/g),"_");