multiple substitutions of numbers in string using regex python,"re.sub('(.*)is(.*)want(.*)', '\\g<1>%s\\g<2>%s\\g<3>' % ('was', '12345'), a)"