Answers for "regex allow characters 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 characters and spaces"

Browse Popular Code Answers by Language