Get link name in javascript
<p>Example</p>

<pre><code>&lt;a href="example.html"&gt;Example Name&lt;/a&gt;
</code></pre>

<p>I would like to get "Example Name"</p>

<p>I know I can do this with regex, but I'm looking for a simpler, faster approach. The closest I came was with Jquery using the <code>.attr("href")</code> attribute. I tried putting <code>.attr("title")</code>, but that doesn't work since I technically don't have a title there. </p>
