regex for no numbers code example
Example 1: regex for numbers
Regex regex = new Regex(@"^\d$");
Example 2: regex all not numbers
echo 1a2b3c | sed 's/[^0-9]//g' #Replaces all not numbers
abc
Regex regex = new Regex(@"^\d$");
echo 1a2b3c | sed 's/[^0-9]//g' #Replaces all not numbers
abc