Answers for "regex allow only alphabets and spaces"

3

only letters and spaces regex

/^[a-zA-Zs]*$/g
Posted by: Guest on April-12-2021
1

regex only letters not spaces

var re = /^[A-Za-z]+$/;
Posted by: Guest on November-09-2020

Code answers related to "regex allow only alphabets and spaces"

Browse Popular Code Answers by Language