This matches the video id in a youtube url.
[\\?&]v= // finds the first ?v= or &v= in the query string
([^&#]*) // matches everything else up to the next & or #
The video id is stored in results[1] (assuming there was a match)
Rob
2009-11-19 00:38:13