Regular Expressions 101

Library entries

Spanish DNI/NIE check fist pass

Vote

6

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by Rafael Casanova Morera - 6 years ago