nl_tokens: Parse YouTube ID from URL
pl_tokens: function parseId ( url ) { if ( is . empty ( url ) ) { return null ; } const regex = / ^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).* / ; return url . match ( regex ) ? RegExp . $2 : <mask> ; }