Meta Interview Question

Parse a phone number using code.