DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+4 =
Submit