title: How to I check that a string contains only digits and / in python?
body: <p>I am trying to check that a string contains only / and digits, to use as a form of validation, however I cannot find and way to do both. ATM I have this:</p>
  
  <pre><code>if Variable.isdigit() == False:
  </code></pre>
  
  <p>This works for the digits but I have not found a way to check also for the slashes.</p>