Skip to content

Instantly share code, notes, and snippets.

@Quantium
Created May 14, 2014 01:15
Show Gist options
  • Save Quantium/23970064ff0255277da5 to your computer and use it in GitHub Desktop.
Save Quantium/23970064ff0255277da5 to your computer and use it in GitHub Desktop.
Github account Regex
var githubAccount = /^(?:https?:\/\/)?(?:www\.)?(?:github\.com\/(\w+))\/?$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment