Created
September 13, 2022 21:11
-
-
Save robertopc/5027ae852c8510d0e0a72257f3c13817 to your computer and use it in GitHub Desktop.
Valida Nome Completo Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// valida nome completo | |
function validarNome(nome) { | |
return nome.match(/^[A-Za-záàâãéèêíïóôõöúüçñÁÀÂÃÉÈÍÏÓÔÕÖÚÜÇÑ' ]+$/); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment