Answers for "remove two or more characters from string python rgex"

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 "remove two or more characters from string python rgex"

Python Answers by Framework

Browse Popular Code Answers by Language