Horje
python regex remove digits from string Code Example
python regex remove digits from string
# credit to the Stack Overflow user in the source link
# add a space before \d+ to exclude numbers close to letters, as b3 for example

s = "This must not be deleted, but the number at the end yes 134411"
s = re.sub("\d+", "", s)




Python

Related
how to load wav file with python Code Example how to load wav file with python Code Example
how to create a save command in python Code Example how to create a save command in python Code Example
how to make convert numpy array to string in python Code Example how to make convert numpy array to string in python Code Example
combine dataframes Code Example combine dataframes Code Example
python - count how many unique in a column Code Example python - count how many unique in a column Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6