HKSAR Passport Number
Detects Hong Kong Special Administrative Region (HKSAR) passport numbers issued by the Immigration Department under the HKSAR Passports Ordinance (Cap. 539). HKSAR passport numbers are nine characters: the current series is the letter H followed by 8 digits; earlier biometric series used K followed by 8 digits, and KJ (48-page jumbo booklets) followed by 7 digits.
- Type
- regex
- Engine
- universal
- Confidence
- medium
- Confidence justification
- Medium confidence: the nine-character letter-prefixed structure (H/K + 8 digits, KJ + 7 digits) is distinctive, but a single letter followed by 8 digits also occurs in invoice, serial and booking references, so corroborating passport keywords are required on every tier. No tier fires on the bare value alone (D1 identifier convention).
- Jurisdictions
- hk
- Regulations
- HKSAR Passports Ordinance (Cap. 539), PDPO (Hong Kong)
- Frameworks
- ISO 27001, ISO 27701
- Data categories
- pii, government-id
- Scope
- narrow
- Risk rating
- 8
- Platform compatibility
- Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Unsupported
Pattern
\b(?:H|K)\d{8}\b|\bKJ\d{7}\b
Corroborative evidence keywords
HKSAR passport, Hong Kong passport, passport number, travel document, Immigration Department, 特區護照, 護照號碼
Proximity: 300 characters
Should match
HKSAR passport number H01234567 was presented at the check-in counter— Current H series with 8 digits, labelledPassport No.: K12345678 issued by the Immigration Department in 2015— Earlier K series with 8 digitsThe applicant's 特區護照 number KJ0123456 expires next March— KJ jumbo series with 7 digits
Should not match
Flight reference H1234567 was rebooked for the delegation— H followed by only 7 digits is too shortSerial HK123456789 printed on the device label— Two-letter HK prefix with 9 digits is not a documented seriesContainer KJ12345678 cleared customs on Tuesday morning— KJ followed by 8 digits is too long for the KJ series
Known false positives
- A letter H or K followed by 8 digits also occurs in booking references, invoice numbers and hardware serials. Mitigation: Every tier requires corroborating passport keywords within the proximity window; there is no bare value-only tier.
- Malaysian passport numbers (A/H/K + 8 digits, covered by my-passport-number) structurally overlap the H/K series. Mitigation: Both patterns share generic terms such as "passport number" and "travel document", so cross-fires on generic-labelled documents are possible; HK-specific terms (HKSAR / 特區護照 / Immigration Department) separate Hong Kong context from Malaysian context only when they are present.
- Sample passport numbers in application guides or templates may match the labelled form. Mitigation: The high and medium tiers apply the template-exclusion NOT-group to suppress sample and documentation content.
References
- Hong Kong Special Administrative Region passport - Wikipedia (nine-character number format)
- 中華人民共和國香港特別行政區護照 - 維基百科 (H/K/KJ series)
- HK01 - 護照號碼解密 (KJ jumbo 48-page series prefix)
- Physical Features and Design of Electronic Passport - Immigration Department
- Cap. 539 Hong Kong Special Administrative Region Passports Ordinance