hi, anyone know of a complete list of valid international phone formats? i
have lists of country codes and mobile prefixes on wikipedia, but for
example, in australia:
country code: 61
mobile prefix: 4
valid phone number: 614xx xxx xxx
and in united kingdom:
country code: 44
mobile prefix: 77, 78, 79
valid phone number: 447[7|8|9]xx xxx xxx (is this correct??)
ie. is it always 2 digit country code followed by the mobile prefix
followed by 8 digits?
no
USA country code 1
right, sorry what i meant to write was is it always country code followed
by mobile prefix followed by 8 digits? given i have lists of country codes
and mobile prefixes i can easily validate that first part, however i'd
also like to be able to check the number of digits the rest of the phone
number so that if someone put in, for example:
61 4 44 487 98
then i'd be able to tell that it was an australian mobile number
that was missing a digit.
cheers
iain