Answers for "removing multiple character from a string in python"

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 "removing multiple character from a string in python"

Python Answers by Framework

Browse Popular Code Answers by Language