JS去掉所有的指定字符replace


//去掉所有“-”
replace(/[-]/g,"")

猜你喜欢

转载自blog.csdn.net/weixin_41760500/article/details/81254491