title: Extracting data using regex in python
body: <p>I am doing Web-scraping in python. I have following data from which I just need to extract address.</p>
  <pre><code># AMEEn # MT****29 Clinics:MYData Clinic 12345-123 rue bridge, QC B3D 1G3Phone: (123)123-1234 Email: sodth@gmail.com MYData Clinic 12345-123 rue bridge, QC B3D 1G3Phone: (123)123-1234
  </code></pre>
  <p>And my Logic is Following:</p>
  <pre><code>def getAddress(ent):
      addressEntry = re.search('(?&lt;=Clinics:)(.*?)(?=Phone: )', ent)
      if addressEntry is None:
          return None
      return addressEntry.group(1)
  </code></pre>