Answers for "regex for letters and numbers and special chars only"

4

regex for number and letters

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

regex match numbers and special characters

echo %H1E2L+L#O! | sed 's/[^A-Z!]//g'	#replaces number and special
characters which aren't ! or an uppercase letter A-Z
Posted by: Guest on November-27-2020

Code answers related to "regex for letters and numbers and special chars only"

Code answers related to "Javascript"

Browse Popular Code Answers by Language