piighost/uk-plate

United Kingdom vehicle registration mark in the current format used since 2001: two area letters, a two digit age identifier, then three letters, the space between them optional. The letter classes drop the letters the DVLA does not use in those positions. The prefix format used from 1983 to 2001 and the suffix format used from 1963 to 1983 are not covered. Some three letter endings are ordinary words, which is the main source of noise. No collision with the existing uk-postcode: a postcode carries a digit immediately before its final two letters, which a plate never does.

Label: UK_VRM

Pattern

\b[A-HJ-PR-Y]{2}(?:0[1-9]|[1-7]\d)[ -]?[A-HJ-PR-Z]{3}\b

Must be caught

Must be left alone

Tags: uk, identity

Download the detector as TOML