Skip to content

Instantly share code, notes, and snippets.

@ammist
Last active June 13, 2017 01:53
Show Gist options
  • Save ammist/7b06814ac19ebe06f7d2a2d1f03f87f8 to your computer and use it in GitHub Desktop.
Save ammist/7b06814ac19ebe06f7d2a2d1f03f87f8 to your computer and use it in GitHub Desktop.
Regex Examples

Select the Directory part of URL's

/[0-9a-zA-z-_]+/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment