Skip to navigation
Replace all non-alphanumeric characters in a string in python
07.12.13
import re re.sub('[^0-9a-zA-Z_-]+', '', "hel\lo")
Reply
Anonymous
Information Epoch 1765162231
Don't force yourself or others to reimplement functionality.
Home
Notebook
Contact us