title: How to check if 2 strings contain same letters and numbers in python?
body: <p>I would like to check if two strings contain the same letters and numbers </p>
  
  <p><strong>BUT</strong> Ignore special characters, such as <code>_</code></p>
  
  <p>Example:</p>
  
  <pre><code>word1 = "ABCD" , word2 = "ACDB"  =&gt; return True
  word1 = "ABC1E_" , word2 = "AE1CB" =&gt; return True
  word1 = "AB12" , word2 = "ABE2" =&gt; return False
  word1 = "ABB" , word2 = "AB" =&gt; return True 
  </code></pre>