/ Published in: Regular Expression
Expand |
Embed | Plain Text
^\+?\d{1,3}?[- .]?\(?(?:\d{2,3})\)?[- .]?\d\d\d[- .]?\d\d\d\d$
Comments
Subscribe to comments
You need to login to post a comment.
gms8994 on 12/04/09
1 person have marked this snippet as a favorite
^\+?\d{1,3}?[- .]?\(?(?:\d{2,3})\)?[- .]?\d\d\d[- .]?\d\d\d\d$
Subscribe to comments
You need to login to post a comment.
This should match all phone numbers listed on WikiPedia