Answers for "regex letter"

4

regex for number and letters

let regex = /[^A-Za-z0-9]+/
Posted by: Guest on July-16-2020
0

regex any letter

[a-zA-Z] //all letters
[a-z] //only lowercase letters
[A-Z] //only uppercase letters
Posted by: Guest on November-19-2020
1

regex char or char

//check if have "i" or "o"
/i|o/.test(var)
Posted by: Guest on December-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language