How to validate a letter and whitespace only input via JavaScript regular expression

后端 未结 6 1323
甜味超标
甜味超标 2021-01-04 10:55

I have an input type=\"text\" for names in my HTML code. I need to make sure that it is a string with letters from \'a\' to \'z\' and \'A\' to \'Z\' only, along

6条回答
  •  不知归路
    2021-01-04 11:35

     
        
        
    

提交回复
热议问题