WA DL REGEX
#388
Replies: 1 comment 2 replies
-
Washington state changed its methodology for assigning drivers license numbers in 2018. The old system was based on the holder's name and year of birth, and had become a privacy risk. Some of the old licenses are still in circulation, though with REALID the numbers are diminishing fast. Here are the new and old patterns with comments. My regex syntax may well be flawed, so please read the comments.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current WA DL REGEX matches any 12 letters, which can have see quite a few false positives. I called the Washington Department of Licensing today and she mentioned the first three characters always start with WDL then the characters after are a random set of alphanumeric characters for a total of 12. I asked if there was documentation on how those were generated to build a better pattern and she put me on hold to ask her support folks. When she came back on the phone she seemed real skeptical of me and directed me to the PR department. I've emailed them, but it's the government so I hope for a response at some point in the next 12 months... Anyway, I was wondering if anyone else here had insight into how those WA DL numbers are made? The source the US DL recognizer lists, https://ntsi.com/drivers-license-format, does not seem to be updated with the schema the lady mentioned on the phone. If I can find official documentation I'll update the REGEX and send in a pull request.
It's worth noting she said the was the old schema: http://www.highprogrammer.com/alan/numbers/dl_us_wa.html
Beta Was this translation helpful? Give feedback.
All reactions