javascript - what does this expression means in Regular Expression -
var nameregex = /^[a-za-z ]*$/;
what line mean in regular expression ? used checking name,but don't know how doing?
it's not jquery. it's vanilla javascript, more powerful engine.
in case, it's regex literal, made intent of checking name contains uppercase or lowercase letters, or spaces.
Comments
Post a Comment