Skip to content

For this certification project, I built an app that checks whether a number is a valid US telephone number. I got the chance to practice on regular expressions, regex .test() method and array .some()

Notifications You must be signed in to change notification settings

kariukimikael/FCC-Telephone-number-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

US Telephone Number Validator Project

Valid Number Formats

Try out these example digits to get valid results and any US telephone numbers that you've got. For invalid results just input values that don't match the formats below.

  • 1 555-555-5555
  • 1 (555)555-5555
  • 1(555)555-5555
  • 1 555 555 5555
  • 5555555555
  • 555-555-5555
  • (555)555-5555
  • 1 (555) 555-5555
  • 1 456 789 4444

Found this tool that helped me in coming up with the regular expressions used and also here is an awesome guide on how to go about with the project.

About

For this certification project, I built an app that checks whether a number is a valid US telephone number. I got the chance to practice on regular expressions, regex .test() method and array .some()

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published