Identifiersflags: g

ULID

Match 26-character ULIDs (Universally Unique Lexicographically Sortable Identifiers).

Try it in RegexPro

Pattern

regexJavaScript
/\b[0-9A-HJKMNP-TV-Z]{26}\b/g

Raw 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

01ARZ3NDEKTSV4RRFFQ69G5FAV

Matches

  • 01ARZ3NDEKTSV4RRFFQ69G5FAV

Common use cases

  • Event sourcing ID validation
  • API request correlation
  • Time-ordered record indexing
  • Migration from UUIDs