NSW Driver Licence Number
Detects New South Wales driver licence numbers in the established eight-digit or four-digit-plus-two-letter shapes. Enforceable tiers require an explicit driver-licence-number label and NSW context; the strict tier additionally requires Transport for NSW, Service NSW, or a legacy NSW road authority.
- Type
- regex
- Engine
- universal
- Confidence
- medium
- Confidence justification
- Medium confidence: the candidate shapes collide with routine identifiers, while a nearby licence-number label and NSW context materially improve precision. Authority evidence supports high-confidence classification.
- Jurisdictions
- au-nsw
- Regulations
- Privacy Act 1988 (Cth), Privacy and Personal Information Protection Act 1998 (NSW), Road Transport Act 2013 (NSW)
- Frameworks
- ISO 27001
- Data categories
- pii, government-id
- Scope
- specific
- Risk rating
- 5
- Platform compatibility
- Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported
Pattern
\b(?:(?!0{8}\b)\d{8}|\d{4}[A-Z]{2})\b
Corroborative evidence keywords
NSW driver licence number, New South Wales driver licence number, Transport for NSW, Service NSW
Proximity: 300 characters
Should match
40829161— Exact 65 discovery probe - bare eight-digit NSW-shaped candidateNSW driver licence number: 40829161— Exact 75 balanced probe - labelled candidate with NSW context but no authorityTransport for NSW - NSW driver licence number: 40829161— Exact 85 strict probe - labelled candidate with NSW authorityService NSW driver license no. 4829AB— Strict alternate four-digit-plus-two-letter shape
Should not match
Invoice number: 40829161— Eight-digit invoice collision has no licence label or NSW contextQLD driver licence number: 40829161— Wrong-state collision must not reach an enforceable NSW tierService NSW vehicle registration number: 40829161— Sibling transport identifier is not a driver licence numberNSW driver licence card number: 40829161— Card number label must not be treated as the stable licence numberTemplate example: NSW driver licence number: 40829161— Template fixture is excluded
Known false positives
- Eight-digit invoices, accounts, orders, and registration references. Mitigation: Require the labelled-number primary and NSW jurisdiction context for enforcement.
- Other states can issue numeric licence numbers with the same length. Mitigation: Require explicit NSW context and use NSW authority evidence for confidence 85.