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

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

google app engine - 403 Forbidden POST - Flask WTForms -