SyntaxFix
Write A Post
Hire A Developer
Questions
How about this?
^(\+?[01])?[-.\s]?\(?[1-9]\d{2}\)?[-.\s]?\d{3}[-.\s]?\d{4}
EDIT: I forgot about the () one. EDIT 2: Got the first 3 digit part wrong.