您需要创建一组转义(用\)括号(与括号匹配)和创建捕获组的一组常规括号:var regExp = /\(([^)]+)\)/;var matches = regExp.exec("I expect five hundred dollars ($500).");//matches[1] contains the value between the parenthesesconsole.log(matches[1]);细目:\(:匹配开头括号(*开始捕获组[^)]+:匹配一个或多个非)人物)*终端捕获小组\):匹配结束括号下面是对雷加