JavaScript Regex untuk FirstName
var nameRegex = /^[a-zA-Z\-]+$/;
Defeated Duck
var nameRegex = /^[a-zA-Z\-]+$/;