Answers for "numbers and letters only regex"

13

regex for number and letters

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

regex 10 numbers only

@"^\d{10}$"
Posted by: Guest on May-10-2021
0

regex numbers or letters

[A-Z0-9]*
Posted by: Guest on July-07-2021
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 "numbers and letters only regex"

Code answers related to "Javascript"

Browse Popular Code Answers by Language