正则表达式:\ ( [ ^ \ ) ] * \ ) JS代码:var str="hello(world)"; var nstr = str.replace(/\([^\)]*\)/g,"");