Several of these characters are in string.punctuation, which makes this if-tree misleading. The should be removed: `'"[]\/()_`. In other words, everything except numbers.