Answers for "removing multiple characters from a string python"

2

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 characters from a string python"

Python Answers by Framework

Browse Popular Code Answers by Language