The accepted answer is good, except an E.164 number can have up to 15 digits. The specification also doesn’t indicate a minimum, so I wouldn’t necessarily count on 10.
It should be ^\+?[1-9]\d{1,14}$
See http://en.wikipedia.org/wiki/E.164
The accepted answer is good, except an E.164 number can have up to 15 digits. The specification also doesn’t indicate a minimum, so I wouldn’t necessarily count on 10.
It should be ^\+?[1-9]\d{1,14}$
See http://en.wikipedia.org/wiki/E.164