Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
([A-za-z]{2}\d{4}|[A-za-z]{4}\d{2})
/
gm

Description

A regex to parse Chilean automobile plates. It would use WWDDDD or WWWWDD

Submitted by Dennis Tobar - 2 years ago