Regular Expressions 101

Community Patterns

Belgian license plate regex

1

Regular Expression
ECMAScript (JavaScript)

/
^(?i)[0-9]?[-]?([A-Z]{3}[-]?[0-9]{3}|[0-9]{3}[-]?[A-Z]{3})$
/
gm

Description

Regex supporting new old license plates from Belgium but dus not support custom license plates

Submitted by anonymous - 3 months ago (Last modified 3 months ago)