我想用字符串中的下划线替换空格来创建漂亮的URL.例如:
"This should be connected" becomes "This_should_be_connected"
我正在使用Python与Django.这可以使用正则表达式解决吗?
python regex django
django ×1
python ×1
regex ×1