Skip to content

Instantly share code, notes, and snippets.

@MarcinGil
Created January 24, 2013 07:52
Show Gist options
  • Select an option

  • Save MarcinGil/4618526 to your computer and use it in GitHub Desktop.

Select an option

Save MarcinGil/4618526 to your computer and use it in GitHub Desktop.
GUID checking regex
"^[A-Fa-f0-9]{32}$|^({|\()?[A-Fa-f0-9]{8}-([A-Fa-f0-9]{4}-){3}[A-Fa-f0-9]{12}(}|\))?$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment