I want to replace whitespace with underscore in a string to create nice URLs. So that for example:
"This should be connected" becomes "This_should_be_connected"
I am using Python with Django. Can this be solved using regular expressions?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…