Answers for "python remove multiple characters from string"

1

python remove multiple characters from string

import re
print(re.sub("e|l", "", "Hello people"))
"Ho pop"
Posted by: Guest on December-01-2020

Code answers related to "python remove multiple characters from string"

Python Answers by Framework

Browse Popular Code Answers by Language