I'm trying to get a regular expression to replace all the links out of a text string for the value of the link.

A link may look like these:

<a href="http://whatever" id="an_id" rel="a_rel">the link</a>
<a href="/absolute_url/whatever" id="an_id" rel="a_rel">the link</a>

I want a regular expression that I get: the link

Edit
Report