Regular Expressions 101

Community Patterns

1...34567...879

VIN europe

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^[S-Z]{1}[A-HJ-NPR-Z0-9]{12}[0-9]{4}$
/

Description

Validate a VIN (vehicule identification number) for europe

Submitted by anonymous - a year ago