how to remove punctuation from a string python regex code example Example: clean punctuation from string python s.translate(str.maketrans('', '', string.punctuation))