| Title |
Test
Find
Mexican CURP RegEx
|
| Expression |
^[a-zA-Z]{4}((\d{2}((0[13578]|1[02])(0[1-9]|[12]\d|3[01])|(0[13456789]|1[012])(0[1-9]|[12]\d|30)|02(0[1-9]|1\d|2[0-8])))|([02468][048]|[13579][26])0229)(H|M)(AS|BC|BS|CC|CL|CM|CS|CH|DF|DG|GT|GR|HG|JC|MC|MN|MS|NT|NL|OC|PL|QT|QR|SP|SL|SR|TC|TS|TL|VZ|YN|ZS|SM|NE)([a-zA-Z]{3})([a-zA-Z0-9\s]{1})\d{1}$+ |
| Description |
I use this one to validate CURP structure. CURP is a mexican unique identifier for certain intitutions like INFONAVIT and it's very useful |
| Matches |
LAZM890202MYNNGR09 |
| Non-Matches |
SM890202MYNNGR09 |
| Author |
Rating:
Sergio Montero
|
| Source |
|
| Your Rating |
|
Title: Thanks!!!
Name: Abraham
Date: 10/15/2009 6:57:24 PM
Comment:
Gracias! funciona!