正则匹配全局斜杠“/”

addr.replace(/\//g,'')
posted @ 2020-11-02 15:09  心中的我们  阅读(1530)  评论(0)    收藏  举报