Python supprime plusieurs caractères de la chaîne
import re
print(re.sub("e|l", "", "Hello people"))
"Ho pop"
Toothless
import re
print(re.sub("e|l", "", "Hello people"))
"Ho pop"
>>> import re
>>> name = "Barack (of Washington)"
>>> re.sub('[(){}<>\']', '', name)
>>> print(name)
Barack of Washington