CURP – AAAA999999AAAAAA99
^([A-Z]{4})([0-9]{6})([A-Z]{6})([0-9]{2})
INE – 9999999999999
^([0-9]{13})
Más información sobre regex:
https://www.regular-expressions.info/
http://docs.notepad-plus-plus.org/index.php/Regular_Expressions
https://i.blogs.es/ff2879/1000_1000_chuleta-expresiones-regulares/1366_2000.jpg
Supuesta regex para CURP en México (no funciona):
SABC560626MDFLRN09
/^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9][12]\d|3[01])[HM](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/

