js 正则 变量名 替换建议使用JS的object对象定义,如var obj={'acc':'hello','mmm':'world'}然后使用str.match(re)取到内容,再循2023-04-25JavaScript330