regex working with numbers. Headache
Posted: Wed Apr 16, 2003 9:36 pm
I am looking to find the code '0000' in '$result'
This is what I am using, which is great for TEXT but dosn't work for numbers.
PHP:
------------------------------------------------------------------------
if (!preg_match ("/0000/i", $result)) {
------------------------------------------------------------------------
Thanks for any help.
Steve
This is what I am using, which is great for TEXT but dosn't work for numbers.
PHP:
------------------------------------------------------------------------
if (!preg_match ("/0000/i", $result)) {
------------------------------------------------------------------------
Thanks for any help.
Steve