Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

regular expression remove numbers from string pythin

#remove any number from a string
string = 'abc123'
remove_num = ''.join(i for i in string if not i.isdigit()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regular #expression #remove #numbers #string #pythin
ADD COMMENT
Topic
Name
8+8 =