Skip to content

Instantly share code, notes, and snippets.

@ejhayes
Created December 14, 2011 01:33
Show Gist options
  • Save ejhayes/1474814 to your computer and use it in GitHub Desktop.
Save ejhayes/1474814 to your computer and use it in GitHub Desktop.
Powershell Matching Regex
([regex]'\/([\w|\.]+)$').matches("http://somerandomwebsite.com/branches/4.8release")[0].Groups[1].Value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment