Answers for "regex to allow only digits and hyphen special characters in javascript"

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 to allow only digits and hyphen special characters in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language