I've been searching for the answer, but i really cannot find it, thanks for any possible answer!
I'm going through an html document full of random text, and i'm looking for something in a specific date format:
%%/%%/%% or %%-%%-%%
Two questions: 1-is it possible to do something like str.find(%s/%s/%s) while specifying the kind of %s (two digits in this case)?
2-Is it possible to assign the %s to variables while doing the .find? Because something like str.find(%s/%s/%s) % ( d,m,y) gives an error.
Thumbs up for a hint on the python code to achieve this! Thanks!