title: How to extract multiple values from a string
body: <p>I have a long Python list like:</p>
  
  <pre><code>['A p=45 n=200 SNR=12', 'B p=2232 n=22 SNR=2']
  </code></pre>
  
  <p>I would like to get from this list a list of tuples containing the value of <code>p</code>, <code>n</code> and <code>SNR</code>.</p>
  
  <p>So:</p>
  
  <pre><code>funz(['A p=45 n=200 SNR=12', 'B p=2232 n=22 SNR=2'])
  </code></pre>
  
  <p>would return:</p>
  
  <pre><code>[(45,200,12), (2232,22,2)]
  </code></pre>
  
  <p>The strings in the list have all the same structure. </p>