title: How to store matched part of regex in python?
body: <p>The string is</p>
  <pre><code>\xa0\n  xxxxxx\nBirchgrove 101,Durga Saffron Square,\nKariyammana Agrahara, Bellandur,    xxxxxx@xxxxxxx.com\n'
  </code></pre>
  <p>and it is in a list called <code>shipto</code> and it is at <code>index 0</code> of this list.</p>
  <p>the regex I am using is</p>
  <pre><code>shipto_re=re.compile(r&quot;\\n  xxxxxx\\n(.*)(.*?)    xxxxxx&quot;)
  </code></pre>
  <p>The part of the string that I want is</p>
  <pre><code>Birchgrove 101,Durga Saffron Square,\nKariyammana Agrahara, Bellandur,
  </code></pre>
  <p>How do I iterate through the list <code>shipto</code> and store the required regex match in a string variable?</p>