Regex · UUID · Free
UUID regex.
Matches a canonical RFC-4122 UUID (versions 1–5). Copy the pattern below, see what it matches, then tweak it for your exact case with the free generator.
The pattern
/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}/g
✓ Matches
123e4567-e89b-12d3-a456-4266141740009b2e4d1a-3c7f-41b8-9f2a-0d5e6c7a8b9c✗ Doesn't match
123e4567not-a-uuidzzzzzzzz-e89b-12d3-a456-426614174000Need a variation? Generate one
Other common patterns
Parsing and pattern-matching are everywhere in AI systems. MindloomHQ teaches you to build them for real — agents, RAG, pipelines — with projects and certificates.
Explore MindloomHQ →