Skip to content

Instantly share code, notes, and snippets.

@ada-h
Created February 15, 2019 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ada-h/0e3982adf1531c61d748c703949ca271 to your computer and use it in GitHub Desktop.
Save ada-h/0e3982adf1531c61d748c703949ca271 to your computer and use it in GitHub Desktop.
phone number validation
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