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 Health Pattern

Prev Next

Canadian Quebec Health Insurance number is a unique alphanumeric string with 12 characters. The first four letters are characters from the last name and first name followed by an 8-digit number.

Validator

None

Matched expressions

Regex expressions

Description

Score

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

Matches an alphanumeric string of the format AAAANNNN NNNN delimited by space. The first four characters are alphabetical characters [A-Z] (not case-sensitive) followed by an 8-digit number.

1

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

Matches an alphanumeric string of the format AAAANNNNNNNN without a delimiter. The first four characters are alphabetical characters [A-Z] (not case-sensitive) followed by an 8-digit number.

1



Ignored expressions

None