Like this? $desc =~ s/(\(([^()]|(?R))*\))//g;
In reply to Re: Strip brackets and contents from string by SimonPratt in thread Strip brackets and contents from string by Anonymous Monk