Answers for "regex string with amy number in it"

13

regex for number and letters

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

regex only string and numbers

export const onlyNumbersAndLetters = (value) => {
    if(value) 
        return value.replace(/[^a-zA-Z0-9]/g, '');
}
Posted by: Guest on November-22-2021

Code answers related to "regex string with amy number in it"

Code answers related to "Javascript"

Browse Popular Code Answers by Language