Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python remove all except numbers

>>> import re
>>> re.sub('D', '', 'aas30dsa20')
'3020'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #remove #numbers
ADD COMMENT
Topic
Name
7+7 =