piighost/mx-curp
Mexican CURP: four letters from the name, the birth date, H or M for the sex, five letters for the state and the consonants, then two characters of control. Eighteen characters of mixed letters and digits in a fixed order, which is about as unmistakable as a national identifier gets.
Label: MX_CURP
Pattern (?<!\w)[A-Z]{4}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HM][A-Z]{5}[A-Z0-9]\d(?!\w)
Must be caught Su CURP es GOMC900101HDFRRL09 en el registro. → GOMC900101HDFRRL09Anota HELM850715MJCRPR04 para el tramite. → HELM850715MJCRPR04
Must be left alone La clave GOMC901301HDFRRL09 no tiene ese mesFolio GOMC900101DFRRL09
Tags: mx, government-id, identity
Download the detector as TOML
Used by
piighost/mx — Mexico: phone, the CURP population identifier and the RFC tax number.
Related patterns
piighost/ar-dni — Argentine national identity document number, the DNI: eight digits, written solid or with a period after the second…
piighost/at-svnr — Austrian social security number, the Sozialversicherungsnummer: ten digits, a three digit serial and one check digit,…
piighost/au-driving-licence — Australian driver licence number.
piighost/au-medicare — Australian Medicare number: ten digits in the groups the card prints, sometimes followed by the individual reference…
piighost/au-passport — Australian passport number, eight or nine characters, per the Purview Australia passport definition: one letter from…
piighost/be-nrn — Belgian national register number in its written form: the birth date in dotted pairs, a dash, a three digit sequence…
← piighost/mx · All patterns in the catalogue · piighost/mx-default →