python search regex in file and replace 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