View Single Post
Unread 09-26-2007, 11:26 AM   #6
evilbunny
Senior Member
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 14 Times in 10 Posts
evilbunny is on a distinguished road
Default

Here is an example of a valid regular expression for the US:

1((8([0]{2}|[6]{2}|[7]{2}|[8]{2})\d{7})|((?!\d[1]{2}|[5]{3})([2-9]\d{2})){2}\d{4})

Below is a list of country codes we have regular expressions we have verified to be working so far.

61
1
43
64
670
49
353
45
33
352
31
351
34
44
420
371
41
39
55
62
48
32
46
7
52
27
30
972
91
65
47
evilbunny is offline   Reply With Quote