js 实现replaceAll和加号的传递

 code = code.replace(new RegExp("[+]","gm"),"%2B");

你可能感兴趣的:(java)