I am trying to use two variables in a re.compile as well as making it a variable. I might be doing something completely wrong but I am not knowledgeable enough to know what.
Find = re.compile( "%s" str(variable1).zfill(2), \.\d\d\., "%s" % variable2)
Now I know this might be completely wrong, but this is the best I know with my current knowledge, so It would be amazing if someone could explain to me what I am doing wrong.