js-字符串全局替换

replace(new RegExp("-","gm"),"/")
原文地址:https://www.cnblogs.com/xhrr/p/15188617.html