Skip to content

Instantly share code, notes, and snippets.

@awabcodes
Last active July 19, 2020 10:44
Show Gist options
  • Save awabcodes/a2f48aac4190627acd2fd458518deaac to your computer and use it in GitHub Desktop.
Save awabcodes/a2f48aac4190627acd2fd458518deaac to your computer and use it in GitHub Desktop.
[Regular Expressions] #Regex
// regex for sudanese mobile numbers
const mobileRegex = /^(?:\+249|00249|249|0)?(\d{9})$;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment