@mz-ber officially there is no space in between the numbers and the suffix, but I work for a provider of a mobility platform and I can tell you that users frequently come up with their own formats like AB-CD123
(no space) or AB-CD 123 E
(extra space).
Your regex works, but it would also cover some invalid plates like the following in case you want a challenge to improve your regex:
-
AB-CD 0E5E8
-
The number can’t start with a 0
-
The E can only be in the end not mixed with the numbers