i have following method of Jquery Validation:
jQuery.validator.addMethod("alpha", function(value, element) {
return this.optional(element) || value == value.match(/^[a-zA-Z]+$/);
},"Only Characters Allowed.");
Now i am having problem that if i add a space between my name words it gives me error can anyone tell me what will be the Regex for checking a name which may have character inputs of A-Z,a-Z and also a space.