Test, validate and match regular expressions
Matches German vehicle registration plates (Kennzeichen) with flexible spacing or hyphens. Captures the city/district code (1-2 uppercase letters), middle letter(s) (1-2), a number block (1-4 digits), and an optional trailing 'E' suffix marking electric vehicles. Useful for parsing or validating plates like 'M-AB 1234E' within multiline text.