Check if a string is a valid UUID (v1-v7).
Code
General/^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(uuid);Parameters
The UUID to validate
Browser·fetch() may be limited by CORS
More JavaScript Snippets
Check Balanced Brackets
Check if brackets in a string are properly balanced and nested using a stack-based approach.
Check Password Strength
Check if a password meets strength requirements (8+ chars, uppercase, lowercase, number, special).
Get Type
Get the precise type of any value.
Is Alpha Only
Check if a string contains only alphabetic characters.
Is Alphanumeric
Check if a string contains only letters and numbers.
Is Array
Check if a value is an array.