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.

Canadian Quebec Drivers License Pattern

Prev Next

Canadian Quebec Drivers License number is an alphanumeric string with 13 characters. Begins with an alphabetical character [A-Z] followed by a 12-digit number.

Validator

None

Matched expressions

Regex expressions

Description

Score

(?i:\b[A-Z][0-9]{4} [0-9]{6} [0-9]{2}\b)

Matches an alphanumeric string of the format ANNNN NNNNNN NN delimited by space. Begins with any of the alphabetical character [A-Z] (not case-sensitive) followed by a 12-digit number.

1

(?i:\b[A-Z][0-9]{4}-[0-9]{6}-[0-9]{2}\b)

Matches an alphanumeric string of the format ANNNN-NNNNNN-NN delimited by hyphen. Begins with any of the alphabetical character [A-Z] (not case-sensitive) followed by a 12-digit number.

1

(?i:\b[A-Z][0-9]{12}\b)

Matches an alphanumeric string of the format ANNNNNNNNNNNN without a delimiter. Begins with any of the alphabetical character [A-Z] (not case-sensitive) followed by a 12-digit number.

1



Ignored expressions

None