Regular Expressions 101

Community Patterns

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 - 8 years ago