title: Retrieve the text between A tags
body: <p>I'm trying to retrieve link text from an HTML file.  Each of the link have a specific class applied to them, but the urls are different.</p>
  
  <p>I have the following:</p>
  
  <pre><code>...
  &lt;a class="fetch-me" href="products/1"&gt;Find ME!!!&lt;/a&gt;
  ...
  &lt;a class="fetch-me" href="products/2"&gt;Me too!&lt;/a&gt;
  ...
  </code></pre>
  
  <p>I am using the following PHP code, but always getting more than I want:</p>
  
  <pre><code>preg_match_all('&lt;a class="fetch-me" href=".*"&gt;(.*)&lt;/a&gt;)siU', $string, $matching_data);
  </code></pre>