You are on page 1of 1

1.

Adicione espaço, ficando:

[A-Za-z ]{5,26}

Se for usar nomes com acento:

[A-Za-záàâãéèêíïóôõöúçñÁÀÂÃÉÈÍÏÓÔÕÖÚÇÑ ]{5,26}

2. Números:

[0-9 ]{3,6}

3. Para validar telefones no formato (xx) xxxx-xxxx

^\([1-9]{2}\) [2-9][0-9]{3,4}\-[0-9]{4}

4. Para validar telefones no formato xx xxxx-xxx

^[1-9]{2} [2-9][0-9]{3,4}-[0-9]{4}

Número de ^(?:(?:\+?1\s*(?:[.-]\s*)?)?(?:\(\s*([2-9]1[02-9]|[2-9][02-
telefone da 8]1|[2-9][02-8][02-9])\s*\)|([2-9]1[02-9]|[2-9][02-8]1|[2-
América do 9][02-8][02-9]))\s*(?:[.-]\s*)?)?([2-9]1[02-9]|[2-9][02-9]1|[2-
Norte 9][02-9]{2})\s*(?:[.-]\s*)?([0-
9]{4})(?:\s*(?:#|x\.?|ext\.?|extension)\s*(\d+))?$

^(\(11\) [9][0-9]{4}-[0-9]{4})|(\(1[2-9]\) [5-9][0-9]{3}-[0-


9]{4})|(\([2-9][1-9]\) [5-9][0-9]{3}-[0-9]{4})$

^(\(11\) [9][0-9]{4}-[0-9]{4})|(\(1[2-9]\) [5-9][0-9]{3}-[0-9]{4})|(\([2-9][1-9]\) [1-9][0-9]{3}-[0-


9]{4})$

/^(([0-9]{3}.[0-9]{3}.[0-9]{3}-[0-9]{2})|([0-9]{11}))$/

You might also like