Regular Expressions 101

Community Patterns

1...34567...177

Spanish DNI/NIE check fist pass

6

Regular Expression
ECMAScript (JavaScript)

/
^(x?\d{8}|[xyz]\d{7})[trwagmyfpdxbnjzsqvhlcke]$
/
i

Description

no description available

Submitted by Rafael Casanova Morera - 9 years ago