How do you validate phone numbers? We use a very widely implemented, Python version of Google's common library for parsing, formatting, storing, and validating domestic and international phone numbers.