Re: regex brain-toot
| From: | John Nichel | Date: | Mon, 19 Jun 2006 18:42:11 +0000 |
| Subject: | Re: regex brain-toot | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238311@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
I have a field that contains a value in parenthesis', but also contains other text, for instance; (it is a legacy app that I am working with, and by legacy I am saying pre-1980) Upper voltage (124.1) I know that \([0-9]*\) will get me (124.1), but I am totally forgetting how to get 124.1 without the parenthesis without trimming ...ack. Swift kickage appreciated. \(([0-9]*)\)-- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com