Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

regex all not numbers

echo 1a2b3c | sed 's/[^0-9]//g'	#Replaces all not numbers
abc
 
PREVIOUS NEXT
Tagged: #regex #numbers
ADD COMMENT
Topic
Name
8+4 =