Answers for "how to remove all occurrences of a character from a string in python using regular expression"

1

remove occurrence in string pytthon

str="it is icy"
print str.replace("i", "")
Posted by: Guest on June-26-2020

Code answers related to "how to remove all occurrences of a character from a string in python using regular expression"

Python Answers by Framework

Browse Popular Code Answers by Language