programer.tips, another cool thing from @nghuuphuoc!

uuid validator

Validate an UUID, support v3, v4, v5

Validators

Improve it on Github

Options

Option HTML attribute Type Description
message data-bv-uuid-message String The error message
version data-bv-uuid-version String The UUID version. Can be 3, 4, 5 or all default
When setting options via HTML attributes, remember to enable the validator by setting data-bv-uuid="true".

Related validators

The following validators might be useful to you: