Validate Phone Numbers



Checking “aasdfdasfdss”


“aasdfdasfdss” is not valid.


Checking “12345678901”


“12345678901” is not valid.


Checking “12345678”


“12345678” is not valid.


Checking “12345”


“12345” is not valid.


Checking “1234”


“1234” is not valid.


Checking “123”


“123” is not valid.


Checking “12”


“12” is not valid.


Checking “111-1111”


“111-1111” is valid.


Checking “(111) 111-1111”


“(111) 111-1111” is valid.


Checking “111-111-1111”


“111-111-1111” is not valid.


Checking “111111”


“111111” is not valid.


Checking “”


“” is not valid.


Checking “aaa-aaaa”


“aaa-aaaa” is not valid.