Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python regular expression remove numbers

value = '12 QZR 44A'
def remove_numbers(name):
    return re.sub(r'w*dw*', '', name).strip()
value.apply(remove_numbers) 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #regular #expression #remove #numbers
ADD COMMENT
Topic
Name
8+5 =