Regular Expressions 101

Community Patterns

Community Library Entry

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