python find and replace regex in string code example
Example: python regex substitute
import re
s = "Example String"
replaced = re.sub('[ES]', 'a', s)
print replaced
import re
s = "Example String"
replaced = re.sub('[ES]', 'a', s)
print replaced