--- title: "Canadian Ontario Drivers License Pattern" slug: "canadian-ontario-drivers-license-pattern" tags: ["Reference", "DLP 11.10.x", "DLPD 11.10.x", "DLPE 11.10.x", "DLPMac 11.10.x", "DLPNM 11.10.x", "DLPNP 11.10.x", "DLP 11.11.x", "DLPE 11.11.x", "DLPExtn 11.11.x", "DLPNM 11.11.x", "DLPNP 11.11.x"] updated: 2026-09-02T05:56:05Z published: 2026-09-02T05:56:05Z canonical: "docs.trellix.com/canadian-ontario-drivers-license-pattern" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Canadian Ontario Drivers License Pattern The Ontario driver's license number is an alphanumeric string with 15 characters. ### Validator **None** ### Matched expressions | Regex expressions | Description | Score | | --- | --- | --- | | `(?i:\b[A-Z][0-9]{4} [0-9]{5} [0-9]{5}\b)` | Matches an alphanumeric string of the format ANNNN NNNNN NNNNN delimited by space. The first character begins with any of the alphabet [A-Z] (not case-sensitive) followed by a 14-digit number. | 1 | | `(?i:\b[A-Z][0-9]{4}-[0-9]{5}-[0-9]{5}\b)` | Matches an alphanumeric string of the format ANNNN-NNNNN-NNNNN delimited by hyphen. The first character begins with any of the alphabet [A-Z] (not case-sensitive) followed by a 14-digit number. | 1 | | `(?i:\b[A-Z][0-9]{14}\b)` | Matches an alphanumeric string of the format ANNNNNNNNNNNNNN without a delimiter. The first character begins with any of the alphabet [A-Z] (not case-sensitive) followed by a 14-digit number. | 1 | ### Ignored expressions **None**