libphonenumber

Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.

googlephonenumber