Answers for "regex for not numbers"

0

regex all not numbers

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

regex for numbers

Regex regex = new Regex(@"^d$");
Posted by: Guest on November-14-2020

Browse Popular Code Answers by Language