$s =~ s/(.*)\s(\(.*\))\s(.*)/$1 $3/g; print "matched $2\n"; print $s; [download]
In reply to Re: Remove text within parenthesis by gurpreetsingh13 in thread Remove text within parenthesis by firmament