Extracting specific information out of string
<p>I have a string that contains an address to a youtube video, I want to use this to display the video in a pop-up lightbox.  In the current form the link will not work in the lightbox:</p>

<pre><code>http://www.youtube.com/v/CD2LRROpph0?f=videos&amp;c=TEST&amp;app=youtube_gdata&amp;version=3
</code></pre>

<p>I has an idea to extract the video id 'CD2LRROpph0' and just append that to a regular youtube url, for example </p>

<pre><code>http://www.youtube.com/watch?v=CD2LRROpph0. 
</code></pre>

<p>Which i know works in the lightbox.</p>

<p>Any ideas on how to extract this code from the string???</p>
