regex brain-toot
| From: | Jay Blanchard | Date: | Mon, 19 Jun 2006 18:37:05 +0000 |
| Subject: | regex brain-toot | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-238310@lists.php.net to get a copy of this message | ||
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.
Thanks!
Jay Blanchard
Pocket Communications
Systems Manager
210-447-1221