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-zA-Z][a-zA-Z\s]+$/;
but it's not working.
See Question&Answers more detail:osI 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-zA-Z][a-zA-Z\s]+$/;
but it's not working.
See Question&Answers more detail:os