摘要: var a = "/a/b/c"; alert(a.replace(new RegExp("/","gm"),"")); //换成 - var a = "/a/b/c"; alert(a.replace(new RegExp("/","gm"),"-")); 阅读全文
posted @ 2021-01-25 15:10 在学习编程的lsy呀 阅读(791) 评论(0) 推荐(0) 编辑