This should be very simple (when you know the answer). From this question
I want to give the posted solution a try. My question is:
How to get the parameter
Not tested but this should work:
/\?v=([a-z0-9\-]+)\&?/i