Removing every thing between ( )
| From: | Brian Paulson | Date: | Wed, 20 Feb 2002 22:24:33 +0000 |
| Subject: | Removing every thing between ( ) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85603@lists.php.net to get a copy of this message | ||
Hello,
What would the regular expression be to remove all the text
between ( )
$string = "This is a (001 Test) and (002 Test)";
The numbers always change but the word stays the same
Any help would be appreciated.
Thank You
Brian Paulson
Sr. Web Developer
bpaulson@chieftain.com
http://www.chieftain.com