i think u have a prob with your regex
must be like this
$regex($1,http:\/\/www.youtube.*\/watch\?v=[^&]{11})