python re replace multiple characters code example Example: python remove multiple characters from string import re print(re.sub("e|l", "", "Hello people")) "Ho pop"