I am doing a validation of CNPJ from the countries of Latin America.
I do not really understand Regex
and would like help to validate the following rule:
3 digits, 6 numbers (YYMMDD), 3 digits (like P & G851223B24)
The field has to accept 3 digits + 6 numbers + 3 digits and I'm doing with jquery like this:
$('.cnpj-mask_3061').mask('AAA000000aaa', defOptions);
Note: In Mexico it did not work.