This is an easy question, but I am still getting stuck. I have a bunch of files and I have to check whether they are following this format.
abc_monthname[0-9]_v[0-9].xlsx
I have done some very generic like : r^[A-Za-z]+_[A-Za-z0-9]+_v[0-9]+\.xlsx$''
but this will fail for some cases. I want to give a strict rule. How do I achieve this in python?