title: Regular expression for anchor tag with all attributes
body: <p>I'm trying to get a regular expression to replace all the links out of a text string for the value of the link.</p>
  
  <p>A link may look like these: </p>
  
  <pre><code>&lt;a href="http://whatever" id="an_id" rel="a_rel"&gt;the link&lt;/a&gt;
  &lt;a href="/absolute_url/whatever" id="an_id" rel="a_rel"&gt;the link&lt;/a&gt;
  </code></pre>
  
  <p>I want a regular expression that I get: <code>the link</code></p>