python regular expression delete punctuation at the end of the sentence code example
Example: clean punctuation from string python
s.translate(str.maketrans('', '', string.punctuation))
s.translate(str.maketrans('', '', string.punctuation))