title: How do I search key, value pairs from a dictionary where I only know a partial string of the value?
body: <p>I have a dictionary where I have values associated with each key as such:</p>
  
  <pre><code>mail_info={'2367': ['Payment Claim'], '2610': ['Managing Contractor Advice '], '2453': ['Variations'], '3453': ['Trade Package Variation Recommendation'], '654': ['Response to Variation']......}
  </code></pre>
  
  <p>I would like to extract all key, value pairs where the word 'Variation' or 'Variations' is a part of the string.</p>
  
  <p>I tried the following command:</p>
  
  <pre><code>[(k, v) for (k, v) in mail_info.items() if 'Variations' in v]
  </code></pre>
  
  <p>But that only returns exact matches.</p>
  
  <p>Can someone please suggest a correct way to do this? Perhaps using regex (although not necessary)?</p>