Answers for "numbers only and length 10 in regex"

3

regex 10 numbers only

@"^d{10}$"
Posted by: Guest on May-10-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 only and length 10 in regex"

Browse Popular Code Answers by Language