Validating phone numbers

Problem Name:
Validating phone numbers
Site:HackerRank
Links:
Tags:
Problem setters:
Login to view your/friends' submissions
Login to suggest tags