India Passport Number
Detects Indian passport numbers issued by the Ministry of External Affairs. The standard format is a single letter (A-Z excluding Q, X and Z, which are not used as the leading character) followed by 7 digits, sometimes printed with a space between the letter and the digits (e.g. 'K1234567' or 'K 1234567'). Corroborative keyword proximity is strongly recommended because the body is only 7 digits.
- Type
- regex
- Engine
- boost_regex
- Confidence
- medium
- Confidence justification
- Medium confidence: the single-letter prefix plus 7 digits is short and overlaps with many reference codes and serial numbers. Corroborative passport keywords within 300 characters are essential for reliable detection.
- Jurisdictions
- in
- Regulations
- DPDP Act 2023, GDPR
- Frameworks
- ISO 27001, ISO 27701
- Data categories
- pii, government-id
- Scope
- narrow
- Platform compatibility
- Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported
Pattern
(?<![A-Za-z0-9])[A-PR-WYa-pr-wy][ ]?[0-9]{7}(?![A-Za-z0-9])
Corroborative evidence keywords
passport, passport number, passport no, indian passport, travel document, Ministry of External Affairs, file number
Proximity: 300 characters
Should match
K1234567— Standard Indian passport, letter + 7 digitsPassport No: M 7654321— Letter, single space, then 7 digits, labelledB9988776— Another valid letter prefix with 7 digits
Should not match
Q1234567— Leading 'Q' is excluded from valid Indian passport lettersK123456— Only 6 digits, below the required 7collect the indian passport from the regional passport office— Prose mention of an Indian passport without an actual number
Known false positives
- Reference codes and serial numbers consisting of a single letter followed by 7 digits. Mitigation: Require corroborative passport keywords within 300 characters and validate document context.