How can I write a regex that matches only letters?
/^[A-z]+$/.test('asd') // true /^[A-z]+$/.test('asd0') // false /^[A-z]+$/.test('0asd') // false