SyntaxFix
Write A Post
Hire A Developer
Questions
/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89AB][0-9a-f]{3}-[0-9a-f]{12}$/i
Gajus' regexp rejects UUID V1-3 and 5, even though they are valid.