Regular expression to accept only characters (a-z) in a textbox

后端 未结 8 1378
北荒
北荒 2021-01-05 12:16

What is a regular expression that accepts only characters ranging from a to z?

8条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-05 12:48

    Just for people using bash shell, instead of "+" use "*"

    "^[a-zA-Z]*$"

提交回复
热议问题