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

Prev Next

Canadian Passport number is an alphanumeric string of the format ATNN NNNN NNNN NNNN NNNN or ATNNNNNNNNNNNNNNNNNN.

Validator

None

Matched expressions

Regex expressions

Description

Score

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

Matches an alphanumeric string of the format ATNN NNNN NNNN NNNN NNNN delimited by space. Begins with "AT" (not case-sensitive) followed by an 18-digit number.

1

(?i:\bAT[0-9]{18}\b)

Matches an alphanumeric string of the format ATNNNNNNNNNNNNNNNNNN without a delimiter. Begins with "AT" (not case-sensitive) followed by an 18-digit number.

1



Ignored expressions

None