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 1732508658
When you must fail, fail noisily and as soon as possible.
Home
Notebook
Contact us