Skip to content

Instantly share code, notes, and snippets.

@robertopc
Created September 13, 2022 21:11
Show Gist options
  • Save robertopc/5027ae852c8510d0e0a72257f3c13817 to your computer and use it in GitHub Desktop.
Save robertopc/5027ae852c8510d0e0a72257f3c13817 to your computer and use it in GitHub Desktop.
Valida Nome Completo Javascript
// 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