Regular Expressions 101

Community Patterns

Europe - Portugal - License Plate

0

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by anonymous - 4 years ago