Preg match? How to?
<p>Say I have the following:</p>

<pre><code>itag=45&amp;url=http://o-o---preferred---sn-4g57kned---
</code></pre>

<p>How would I get the "45" out of the itag=45&amp;</p>

<p>I've tried this:</p>

<pre><code>preg_match('/itag=(.*)&amp;/', $link, $format);
</code></pre>

<p>But it doesn't seem to work..</p>
