RE: [PHP] Re: Removing every thing between ( )

2002-02-20 Thread Brian Paulson
Great, Thanks for the help, worked like a charm Brian -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 1:50 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Removing every thing between ( ) In article <001901c1ba5d$634e3840$89010

[PHP] Re: Removing every thing between ( )

2002-02-20 Thread CC Zona
In article <001901c1ba5d$634e3840$89010a0a@bpaulson>, [EMAIL PROTECTED] (Brian Paulson) wrote: > What would the regular expression be to remove all the text > between ( ) > > $string = "This is a (001 Test) and (002 Test)"; $string=preg_replace("/\(.+\)/U",'',$string); Note that leadi