Answers for "regular expression to accept only numbers and alphabets"

0

regex to allow only numbers letters and hyphen

/^[0-9A-Za-z\s\-]+$/
Posted by: Guest on April-25-2021

Code answers related to "regular expression to accept only numbers and alphabets"

Code answers related to "Javascript"

Browse Popular Code Answers by Language