Amazon Interview Question

Find valid phone numbers in a file