I need help with regular expression. I need a expression which allows only alphabets with space for ex. college name.
I am using :
var regex = /^[a-
This will work for not allowing spaces at beginning and accepts characters, numbers, and special characters
/(^\w+)\s?/