Get a string out of a string? Explode?
<p>I have the following string</p>

<pre><code>&lt;embed src='herp.com'  width='240' height='180'  allowscriptaccess='always' allowfullscreen='true' flashvars='volume=94&amp;stretching=fill&amp;file=http%3A%2F%2Fmedia.cdn.com%2FTHEMP%2Fflash%2Ffile.mp4&amp;plugins=viral-1d'/&gt;
</code></pre>

<p>And I want to get the <code>http%3A%2F%2Fmedia.cdn.com%2FTHEMP%2Fflash%2Ffile.mp4&amp;plugins=viral-1d</code> out of it.</p>

<p>I was thinking explode by <code>=</code> and then grab the second last value, but this may be error prone (example if they add another <code>herp="blah"</code> after the flashvars variable the script would no longer work), is there any other way that is a little more bulletproof to syntax changes around the string I need?</p>
