Title |
Test
Find
UK Driving Licence
|
Expression |
^([A-Z]{2}[9]{3}|[A-Z]{3}[9]{2}|[A-Z]{4}[9]{1}|[A-Z]{5})[0-9]{6}([A-Z]{1}[9]{1}|[A-Z]{2})[A-Z0-9]{3}[0-9]{2}$ |
Description |
Matches the UK Drivers License format as laid down by the DVLA / dvla. See http
://www.govtalk.gov.uk/gdsc/html/frames/default.htm Matches: |
Matches |
tom99808275m99sc23 sugar654155a98lw59 |
Non-Matches |
tom89808275m99sc23 9ugar654155a98lw59 |
Author |
Rating:
Mohamed Corsa
|
Source |
|
Your Rating |
|
Title: Seems to works but lowercase examples are wrong
Name: Will
Date: 10/19/2020 11:51:26 AM
Comment:
It works and i think its correct, but the examples given for matches don't match as only upper case letters are allowed.
Title: Works -
Name: Tester
Date: 11/9/2010 4:12:19 AM
Comment:
Works - i have tested it using several uk driving licences and it seems to accept them