Answers for "regular expression can accept number alphabet letters"

13

regex for number and letters

let regex = /[^A-Za-z0-9]+/
Posted by: Guest on July-16-2020
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 can accept number alphabet letters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language