Hello,,

I have a preg_match issue matching numbers.  I am currently using 

!preg_match ('/([0-9\-\.\#:])/', $_POST['nums1']
    throw error[]

This fails if you use something like ' asdf ' but if you use ' asdf789 ' it passes 
false and does not throw an error.  
This is not the obvious solution....  I know its a problem in my regular expression.  
Should I ONLY be using

' /([0-9])/ ' ,  ?

Thanks in advance.
Daniel

Reply via email to