Jay Blanchard wrote:
[snip]
\(([0-9]*)\)
[/snip]
I had done this before and still get the parenthesis...
ereg("\(([0-9]*)\)", "Upper Voltage (124.1)", $regs);
Ahhhh....not PCRE. Can't help you there, as I've never used the ereg
functions. However...
preg_match ( "/\((\d{1,}.*?)\)/", "Upper Voltage (124.1)", $regs );
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php