查找[\((][^\))]+[\))]$替换成空字符串
//js代码:var reg = /(\([^\(\)]*\))/g;var str = "abc(eee)d(fff)";if(reg.test(str)) alert(RegExp.$1);// 弹出(fff)