PREG_MATCH_ALL taking the last match
<p>hello im just having a problem here with PREG_MATCH_ALL()
lets say i have 2 strings ...
Save You
and
What If Uploader Name
i need to retreive Save You so i'm using the folowing paterns</p>

<pre><code>preg_match_all('/&lt;span id="title.*"&gt;(.*)&lt;\/span&gt;/i',,);
</code></pre>

<p>as a result i get</p>

<blockquote>
  <p>Save You
  Uploader Name</p>
</blockquote>

<p>I think this is because it's taking the last  any way to fix it ? or like matching the first  ? thank you</p>

<p>EDIT:</p>

<pre><code>&lt;a href="#" onclick="searchActions.showLyrics('14840_100733666_21',9965243); return false;"&gt;Can&amp;#39;t Keep My Hands Off You&lt;/a&gt;&lt;/span&gt;
</code></pre>

<p>get as result</p>

<pre><code>&lt;a href="Your Love Is A Lie"&lt;/a&gt;
</code></pre>

<p>with </p>

<pre><code>/&lt;span id="title(.*?)"&gt;(.*?)&lt;\/span&gt;/i
</code></pre>
