var a = "/a/b/c";
    alert(a.replace(new RegExp("/","gm"),""));

  

相关文章: