title: Python re find all combinations print as string
body: <p>Using Python regular expressions how can I find all instances of a combination and print each one on a new line?</p>
  
  <p>Example:</p>
  
  <pre><code>import re
  
  x = "a=123,b=123,c=123,d=123,a=456,b=456...etc"
  y = re.search('a=(.*?),', x)
  print(y)
  </code></pre>
  
  <p>Trying to get:</p>
  
  <pre><code>123
  456
  </code></pre>