Answers for "regex accept only numbers"

3

regex 10 numbers only

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

regex all not numbers

echo 1a2b3c | sed 's/[^0-9]//g'	#Replaces all not numbers
abc
Posted by: Guest on November-27-2020

Code answers related to "regex accept only numbers"

Browse Popular Code Answers by Language