Jquery 替换全部花括号

js:
var str="{aaa}123{aaa}";
str.replace(/{aaa}/g, "111");
原文地址:https://www.cnblogs.com/qyhol/p/5445775.html