How do I use regex to do this in Python?

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-04-06T23:35:15Z Indexed on 2010/04/06 23:43 UTC
Read the original article Hit count: 116

Filed under:
|
|
def symbolsReplaceDashes(text):

I want to replace all spaces and symbols with hyphens. Because I want to use this with URL.

© Stack Overflow or respective owner

Related posts about python

Related posts about regex