analyse URL YouTu.be et obtenez le temps

// Parse youtu.be URL and get time:

const url = "https://youtu.be/abc123?t=660";
const re = /\?t=([\d]+)/i;
const match = url.match(re);
if ( match ) console.log( match[1] );
// Outputs: 660
KostasX