var reg = /[^\{}]*\{(.*)\}[^\}]*/;
var str = "1111{122}";
console.log(str.replace(reg,'$1'));
 
str = "23{adf{223}}";
console.log(str.replace(reg,'$1'));