Skip to content

Instantly share code, notes, and snippets.

@malkafly
Created October 11, 2016 22:49
Show Gist options
  • Save malkafly/9e5dc250ec31611e2dfcba2323e43660 to your computer and use it in GitHub Desktop.
Save malkafly/9e5dc250ec31611e2dfcba2323e43660 to your computer and use it in GitHub Desktop.
Máscaras de Javascript para dados de veículos
CPF = "999.999.999-99",
CNPJ = "99.999.999/9999-99",
IE = "9?999999999999",
IM = "9?999999999999" /*Inscricao municipal*/,
RG = "99.99?9.99?9-*",
TIT = "999999999/99",
CEP = "99999-999",
DDD = "99",
Numero = "9?999999", /*Nota do leiloeiro*/
NFE = "999.999.999",
Detran = "9999999999?9",
PLACA = "aaa - 9999",
CHASSI = "*?********************",
MOTOR = "*?*******************",
CAMBIO = "*?*******************",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment