Possible Duplicates:
Youtube API - Extract video ID
How do I extract query parameters from an URL string in PHP?
If the input is as follows:
$input = 'http://www.youtube.com/watch?v=ALph_u2iee8&feature=topvideos_music';
And I want to end up with:
$result = 'ALph_u2iee8';
What would be the most rational way to do this in PHP?