title: How to extract data from the following using RegEx?
body: <p>I have a data set in the following pattern</p>
  <pre><code>1&lt;a href=&quot;/contact/&quot;&gt;Joe&lt;/a&gt;&lt;br /&gt;joe.doe@somemail.com&lt;/div&gt;
  2&lt;a href=&quot;/contact/&quot;&gt;Tom&lt;/a&gt;&lt;br /&gt;tom.cat@aol.com&lt;/div&gt;
  3&lt;a href=&quot;/contact/&quot;&gt;Jerry&lt;/a&gt;&lt;br /&gt;jerry.mouse@yahoo.co.in&lt;/div&gt;
  </code></pre>
  <p>So on...</p>
  <p>I need to extract the name and email id alone from it. How do I do it?</p>
  <hr />
  <h2>Update:</h2>
  <p>Based on your responses, I've changed my data format to:</p>
  <pre><code>1(name)Joe(email)joe.doe@somemail.com(end)
  2(name)Tom(email)tom.cat@aol.com(end)
  3(name)Jerry(email)jerry.mouse@yahoo.co.in(end)
  </code></pre>
  <p>How do I parse <em>that</em>?</p>