Regular Expressions 101

Community Patterns

Hungarian license plates from 2022

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^((([A-Z]{3})\-([0-9]{4})|([A-Z]{2}) ([A-Z]{2})\-([0-9]{3})|([A-Z]{4})\-([0-9]{3})|([A-Z]{5})\-([0-9]{2})|([A-Z]{6})\-([0-9]{1})))$
/
mg

Description

Loading markdown...
Submitted by gergelyfuzi - 4 months ago
(Last modified 4 months ago)