JavaScript regex para primer nombre
var nameRegex = /^[a-zA-Z\-]+$/;
Defeated Duck
var nameRegex = /^[a-zA-Z\-]+$/;