In my employee information page, i use the validation in the information page.
In that javascript regular expression,
var nameRegex = /^[(a-z)(A-Z)\s ]*$/;
This nameRegex match with my last and firstname.
} else if(!lastname.match(nameRegex)) {
For this one, special character are not allowed in last name. It restrict all the special character apart from brackets as ( )
. Why it ignore the bracket? What is the reason for that. will you help me friends?