What is the Best way to strip punctuation from a string in Python?
You can use the string.translate approach as it is very fast and easy to use.
s.translate(None, string.punctuation)
For higher versions of Python use the following code:
s.translate(str.maketrans('', '', string.punctuation))