title: Python - String search
body: <p>Lets suppose I have these two strings:</p>
  
  <pre><code>IAMASTRIPETHA-IWANTTOIGN-RE
  
  IAMA-TRIPETHATIWA-TTOIGNORE
  </code></pre>
  
  <p>If in this case I would ignore the positions of the '-', those two strings are the same. How can I accomplish this in Python 2.7?</p>
  
  <pre><code>IAMASTRIPETHA-IWANTTOIGN-RE
  
  IAMA-TRIPETHATIWA-TTOALGORE
  </code></pre>
  
  <p>The above example is not similar when ignoring the '-'; hence I don't care.</p>
  
  <p>Hope someone can help me out ;)</p>
  
  <p><strong>PS: Apologies for not mentioning this but it is not required for strings to have an equal length!</strong></p>