How to set validation of phone numbers like design?

Printable View