Skip to content

Instantly share code, notes, and snippets.

@marti1125
Last active August 29, 2015 14:27
Show Gist options
  • Save marti1125/5b53805c83c80d2583cf to your computer and use it in GitHub Desktop.
Save marti1125/5b53805c83c80d2583cf to your computer and use it in GitHub Desktop.
https://regex101.com
\/([^\/]*)\/+
\/([a-zA-Z0-9]{0,})\/+
(([a-zA-Z0-9]{0,})\/){0,}
(([a-z]{0,})\/){0,}
([a-zA-Z]{0,}[^\//]\/){0,}
(http:\/\/|git:\/\/)\w+(\.git|\.GIT)
(http:\/\/|git:\/\/)(([a-zA-Z0-9]{0,})\/){0,}\w+(\.git|\.GIT)
(http:\/\/|git:\/\/)(([a-z]{0,})\/){0,}\w+(\.git|\.GIT)
(http:\/\/|git:\/\/)(([a-z]{0,})\/){0,}\w+(\.git|\.GIT)
https://github.com/VulpesTools/Compress.git
(http:\/\/|git:\/\/)([a-zA-Z]{0,}[^\//]\/){0,}\w+(\.git|\.GIT)
(https:\/\/|git:\/\/)([a-zA-Z-.-_--]{0,}[^\//]\/){0,}[a-zA-Z-.-_--]{0,}(\.git|\.GIT)
aurora\sjob\screate\s[a-z]+\/[a-z]+\/[a-z]+\/[a-z]+\s[a-zA-Z-.-_--]{0,}(\.aurora)
"regexp": "aurora\\sjob\\screate\\s[a-z-.-_--]+\/[a-z-.-_--]+\/[a-z-.-_--]+\/[a-z-.-_--]+\\s[a-zA-Z-.-_--]{0,}(\\.aurora)",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment