Validates phone numbers. Can be used to validate a phone number in real-time, digit by digit with Ajax.