title: Extraction of variables from text, with completely different formatting, using Python
body: <p>The text is formatted in the following manner:</p>
  
  <pre><code>0 -&gt; 1
  3 -&gt; 2
  2 -&gt; 6,5
  8 -&gt; 7
  5 -&gt; 9,4,1
  </code></pre>
  
  <p>On the left there is always one number and on the right there may be multiple.  </p>
  
  <p>And this is what i try to yield, a list with this kind of formatting.</p>
  
  <pre><code>lst = ['01', '32', '26', '25', '87', '59', '54', '51']
  </code></pre>
  
  <p>Please don't ask what i have tried so far, because any attempts, using strip and split, led to something very far from what I'd like see.</p>