php preg_match and pattern
<p>i have url:
youtube.com/v/NRH2jEyiiLo&amp;hl=en&amp;fs=1&amp;rel=0</p>

<p>And i need only code: NRH2jEyiiLo&amp;hl.</p>

<p>preg_match($pattern, $url, $matches);</p>

<p>I use this pattern: <code>$pattern = '@^([^/v/]+)?([^=]+)@i';</code></p>

<p>But why result is: "youtube.com/v/NRH2jEyiiLo"?</p>

<p>How drop "youtube.com/v/", thanks ;)</p>
