There's always some level of ambiguity in guessing these numbers. If you're building a website I'd require e.164. Most we users recognize this.
The wikipedia page on e.123 used to have some good principles on guessing for human enterered phone numbers. Including brackets and hyphen handling. On 12/01/2009, at 12:06, Calvin Jeong <[email protected]> wrote: > > Hello people, > > Say we DON'T know country code 61 is Australia. > > From a phone number 61285149999 alone, can you distinguish the > country code? > > I know the fact a country code varies between 1 digit to 3 digits, I > want to find the country code from a phone number. > > Only way to do this is compare it against country code database? > > :) > > Calvin > > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
