Google's C++ library for parsing, formatting, and validating phone numbers
C++ Phone Number library by Google
phonenumbertool$ phonenumbertool --input=+14155552671 --country=US$ phonenumbertool --input=14155552671 --country=US --format=INTERNATIONAL$ phonenumbertool --input='Call me at +1-415-555-2671' --extract