Answers for "regex for number and hyphen only"

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 "regex for number and hyphen only"

Code answers related to "Javascript"

Browse Popular Code Answers by Language