edyonline
asked on
regular expression question in php preg_match
i'd like to check the following
okay:
'-'
'-1'
'-1212'
'-12.22'
not okay:
'- '
'#'
'-1/1'
'-1,2'
'-1.2.2.2'
'1,2'
'1/1'
'1.2.2'
Thanks
okay:
'-'
'-1'
'-1212'
'-12.22'
not okay:
'- '
'#'
'-1/1'
'-1,2'
'-1.2.2.2'
'1,2'
'1/1'
'1.2.2'
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.