Jquery Validation: allow only alphabets and spaces

My validation accepts only alphabets. I want allow spaces as well. $.validator.addMethod(“alpha”, function(value, element) { return this.optional(element) || value == value.match(/^[a-zA-…