The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

US Driver License Number

Prev Next

Validator

None

Matched expressions

Regex expressions

State

Description

Score

\b[0-9]{7}\b

Alabama, Alaska, Delaware, Georgia, Maine, Montana, Oregon, South Carolina, Washington, D.C., West Virginia

Matches a 7-digit number without a delimiter.

1

\b[A-Z][0-9]{8}\b

Arizona, Massachusetts, Nebraska, Oklahoma

Matches an alphanumeric string without a delimiter that begins with any of the alphabets [A-Z] followed by an 8-digit number.

1

\b9[0-9]{8}\b

Arkansas

Matches a 9-digit number beginning with 9 without a delimiter.

1

\b[A-Z][0-9]{7}\b

California

Matches an alphanumeric string without a delimiter that begins with any of the alphabets [A-Z] followed by a 7-digit number.

1

\b[0-9]{2}-[0-9]{3}-[0-9]{4}\b

Colorado

Matches a 9-digit number delimited by hyphen. Format: NN-NNN-NNNN

1

\b[0-9]{9}\b

Connecticut, Louisiana, New Mexico, Idaho, Iowa, Mississippi, Oklahoma, South Dakota, Tennessee, Utah

Matches a 9-digit number without a delimiter.

1

\b[A-Z][0-9]{12}\b

Florida, Maryland, Michigan, Minnesota, Nevada

Matches an alphanumeric string without a delimiter that begins with any of the alphabets [A-Z] followed by a 12-digit number.

1

\b[A-Z][0-9]{3}-[0-9]{3}-[0-9]{2}-[0-9]{3}-[0-9]\b

Florida

Matches an alphanumeric string delimited by hyphen that begins with any of the alphabets [A-Z] followed by a 12-digit number. Format: ANNN-NNN-NN-NNN-N

1

\b[H][0-9]{8}\b

Hawaii

Matches an alphanumeric string without a delimiter that begins with "H" followed by an 8-digit number. Format: HNNNNNNNN

1

\b[A-Z]{2}[0-9]{6}[A-Z]\b

Idaho

Matches an alphanumeric string without a delimiter. The first two characters are any of the alphabets [A-Z] followed by a 6-digit number, and ends with any of the alphabets [A-Z]. Format: AANNNNNNA

1

\b[A-Z][0-9]{3}-[0-9]{4}-[0-9]{4}\b

Illinois

Matches an alphanumeric string delimited by hyphen. The first three characters are any of the alphabets [A-Z] followed by an 8-digit number. Format AAA-NNNN-NNNN

1

\b[0-9]{4}-[0-9]{2}-[0-9]{4}\b

Indiana

Matches a 10-digit number delimited by hyphen. Format: NNNN-NN-NNNN

1

\b[0-9]{3}[A-Z]{2}[0-9]{4}\b

Iowa

Matches an alphanumeric string delimited by hyphen. Format: NNN-AA-NNNN

1

\b[K][0-9]{2}-[0-9]{2}-[0-9]{4}\b

Kansas

Matches an alphanumeric string delimited by hyphen that begins with "K" followed by an 8-digit number. Format: KNN-NN-NNNN

1

\b[A-Z][0-9]{2}-[0-9]{3}-[0-9]{3}\b

Kentucky

Matches an alphanumeric string delimited by hyphen that begins with any of the alphabets [A-Z] followed by an 8-digit number. Format: ANN-NNN-NNN

1

\b[A-Z]-[0-9]{3}-[0-9]{3}-[0-9]{3}-[0-9]{3}\b

Maryland

Matches an alphanumeric string delimited by hyphen that begins with any of A-Z followed by a 12-digit number. Format: A-NNN-NNN-NNN-NNN

1

\b[A-Z] [0-9]{3} [0-9]{3} [0-9]{3} [0-9]{3}\b

Michigan

Matches an alphanumeric string delimited by space that begins with any of [A-Z] followed by a 12-digit number. Format: A NNN NNN NNN NNN

1

\b[0-9]{3}-[0-9]{2}-[0-9]{4}\b

Mississippi

Matches a 9-digit number of the format NNN-NN-NNN, delimited by hyphen.

1

\b[A-Z][0-9]{9}\b

Missouri

Matches an alphanumeric string without a delimiter that begins with any of [A-Z] followed by a 9-digit number. Format: ANNNNNNNNN

1

\b(?:0[1-9]|1[0-2])[0-9]{3}[1-9][0-9]{3}41(?:0[1-9]|1[0-9]|2[0-9]|3[0-1])\b

Montana

Matches a 13-digit number without a delimiter and checks the following:

  • Digits (1,2) — is 01–12

  • Digits (3,4,5) — is 000–999

  • Digit (6) — is 1-9

  • Digits (7,8,9) — is 000-999

  • Digits (10, 11) — is 41

  • Digits (12,13) — is 00–31

1

\b(?:0[1-9]|1[0-2])[A-Z]{3}[0-9]{2}(?:0[1-9]|1[0-9]|2[0-9]|3[0-1])[0-9]\b

New Hampshire

Matches an alphanumeric string of 10 character length and checks the following:

  • Characters (1,2) — is 01–12

  • Characters (3,4,5) — is any of [A–Z]

  • Characters (6,7) — is [0–9]

  • Characters (8,9) — is 00–31

  • Characters (10) — is [0-9]

1

\b[A-Z][0-9]{4} [0-9]{5} [0-9]{5}\b

New Jersey

Matches an alphanumeric string delimited by space that begins with any of A-Z followed by a 14-digit number. Format: ANNNN NNNNN NNNNN

1

\b[0-9]{3} [0-9]{3} [0-9]{3}\b

New York

Matches a 9-digit number delimited by space. Format: NNN NNN NNN

1

\b[0-9]{12}\b

North Carolina

Matches a 12-digit number without a delimiter.

1

\b[A-Z]{3}-[0-9]{2}-[0-9]{4}\b

North Dakota

Matches an alphanumeric string delimited by hyphen. The first three characters are any of [A-Z] followed by a 6-digit number. Format: AAA-NN-NNNN

1

\b[A-Z]{2}[0-9]{6}\b

Ohio

Matches an alphanumeric string without a delimiter. The first two characters are any of the alphabets [A-Z] followed by a 6-digit number. Format AANNNNNN

1

\b[0-9]{2} [0-9]{3} [0-9]{3}\b

Pennsylvania

Matches an 8-digit number delimited by space. Format: NN NNN NNN

1

\b[1-9]{2}[0-9]{5}\b

Rhode Island

Matches a 7-digit number without a delimiter that begins with a 2-digit nonzero number followed by a 5-digit number consisting of [0-9].

1

\b[0-9]{8}\b

South Dakota, Rhode Island, Tennessee, Texas, Vermont

Matches an 8-digit number without a delimiter.

1

\b[0-9]{7}[A-Z]\b

Vermont

Matches a 7-digit number followed by any of alphabets [A-Z]. Format: NNNNNNNA

1

\b[A-Z][0-9]{2}-[0-9]{2}-[0-9]{4}\b

Virginia

Matches an alphanumeric string delimited by hyphen that begins with any of the alphabets [A-Z] followed by an 8-digit number. Format: ANN-NN-NNN

1

\b(?:[A-Z]{5}|[A-Z]{4}[*]{1}|[A-Z]{3}[*]{2}|[A-Z]{2}[*]{3})[A-Z]{2}[0-9]{3}[A-Z0-9]{2}\b

Washington

Matches an alphanumeric string of 12-character length in any of these formats:

  • AAAAAAANNNAA

  • AAAA*AANNNAA

  • AAA**AANNNAA

  • AA***AANNNAA

1

\b[A-Z][0-9]{6}\b

West Virginia

Matches an alphanumeric string without a delimiter that begins with any of the alphabets [A-Z] followed by a 6-digit number.

1

\b[A-Z][0-9]{3}-[0-9]{4}-[0-9]{4}-[0-9]{2}\b

Wisconsin

Matches an alphanumeric string delimited by hyphen that begins with any of the alphabets [A-Z] followed by a 13-digit number. Format: ANNN-NNNN-NNNN-NN

1

\b[0-9]{6}-[0-9]{3}\b

Wyoming

Matches a 9-digit number delimited by hyphen. Format: NNNNNN-NNN

1

\bWDL[A-Z0-9]{9}\b

Washington, Sept 2018 onwards

Matches an alphanumeric string that begins with "WDL" followed by 9 alphanumeric characters. Example: WDLABCD012345

1



Ignored expressions

None