title: How to check string is laid out in correct format (Python)
body: <p>I am coding a program which needs to import log files.
  The user must input the name of the file in the correct order of 'DD-HH.MM' (day, hour, minute). Is there any way to validate that the users input is in the correct order?</p>
  
  <p>Thanks in advance</p>