What is the best way to strip all non alphanumeric characters from a string, using Python?
The solutions presented in the PHP variant of this question will probably
for char in my_string: if not char.isalnum(): my_string = my_string.replace(char,"")