7 lines
207 B
Python
7 lines
207 B
Python
characters_to_replace = ["/", ":", " ", "?", "!", "&", ",", "'", '""']
|
|
|
|
def sanitize_title (title):
|
|
for character in characters_to_replace:
|
|
title = title.replace(character, "-")
|
|
return title
|