Created
February 15, 2019 08:53
-
-
Save ada-h/0e3982adf1531c61d748c703949ca271 to your computer and use it in GitHub Desktop.
phone number validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let phoneNumber =/^(\+?234|0)(703|706|806|810|813|814|816|903|803|906|705|805|807|811|815|905|701|708|802|808|812|902|907|907|809|817|818|908|909)[0-9]{7}$/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment