$kod = $_GET['watch'];
  $kod=str_replace('https://www.youtube.com/watch?v=','',$kod);
Bu şekilde de işe yarayacağını düşünüyorum.