jquery - Javascript Expression that take only alphabates -
i have done not working can please correct following regex
.
/^[a-za-z.\s]+$/
if want alphabets, remove .
regex. match alphabets , spaces.
/^[a-za-z\s]+$/
i'll recommend use instead of
\s
/^[a-za-z ]+$/
so that, other space characters(tabs, etc.) not matched.
Comments
Post a Comment