I want to get only youtube id from the following url
https://www.youtube.com/embed/cqyziA30whE?controls=1&showinfo=0&rel=0&autoplay=0&loop=0
 $(".youtube").click(function () {
       console.log(this.href.replace(new RegExp("embed\\/", "i"), 'embed/'));
 });
This gets me the whole url while i want to get only YouTubeID  cqyziA30whE when ever user click on any of the links
 
     
     
     
    