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.

Chinese Passport Pattern

Prev Next

Chinese Passport is issued to nationals of the People's Republic of China who do not permanently reside in Hong Kong or Macau for international travel. A unique 9–character to 10-character that matches the China Passport Number format.

Validator

None

Matched expressions

Regex expressions

Description

Score

\b((0[0-9])|(1[0-2])|(2[1-9])|(3[0-2])|(6[1-9])|(7[0-2])|80)([0-9]{7})\b

Matches a string beginning with "G" followed by an 8-digit number.

1



Ignored expressions

None