Quick question: I need to allow an input to only accept letters, from a to z and from A to Z, but can't find any expression for that. I want to use the javascript test() method.
let res = /^[a-zA-Z]+$/.test('sfjd'); console.log(res);
1.4m articles
1.4m replys
5 comments
57.0k users