hi there,
I am using this: if(!preg_match('/^+[0-9]$/', '+1234567'))
and am getting:
Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1
any ideas why?
update: Now using this: if(!preg_match('/^\+[0-9]$/', '+1234567'))
and am getting no match.
any ideas why?