Identifiersflags: g
ULID
Match 26-character ULIDs (Universally Unique Lexicographically Sortable Identifiers).
Try it in RegexProPattern
regexJavaScript
/\b[0-9A-HJKMNP-TV-Z]{26}\b/gRaw source: \b[0-9A-HJKMNP-TV-Z]{26}\b
How it works
ULIDs use Crockford Base32 which excludes I, L, O, U to avoid confusion. Exactly 26 characters, word-bounded.
Examples
Input
01ARZ3NDEKTSV4RRFFQ69G5FAVMatches
01ARZ3NDEKTSV4RRFFQ69G5FAV
Common use cases
- Event sourcing ID validation
- API request correlation
- Time-ordered record indexing
- Migration from UUIDs