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 1784222148
Solving the next 5% probably costs more than the previous 90%.
Home
Notebook
Contact us