Regular Expressions 101

Library entries

CPF/CNPJ - Com/Sem máscara

Vote

0

Regular Expression
javascript

/
^(\d{3})\.?(\d{3})\.?(\d{3})\-?(\d{2}$)$|^(\d{2})\.?(\d{3})\.?(\d{3})\/?([0-1]{4})\-?(\d{2})$
/

Description

Loading markdown...
Submitted by Victor A. de O. Neto - 6 years ago