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.
Data Loss Prevention (DLP) > Classification Guide > Trellix Data Loss Prevention 11.x.x Classification Definitions Reference Guide - March 2025 > Advanced Pattern Definitions
Data Loss Prevention (DLP) > Classification Guide > Trellix Data Loss Prevention 11.x.x Classification Definitions Reference Guide - March 2025 > Advanced Pattern Definitions
Data Loss Prevention (DLP) > Classification Guide > Trellix Data Loss Prevention 11.x.x Classification Definitions Reference Guide - March 2025 > Advanced Pattern Definitions