/the literal / (4710 / 578 / 2F16)
^start of string
.*any Unicode character (except for line terminators), repeated any number of times
Group 1((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?)) 1st Alternative(youtu.be\/) yoututhe literal text youtu (case sensitive) .any Unicode character (except for line terminators)
bethe literal text be (case sensitive) \/the literal / (4710 / 578 / 2F16)
vthe literal v (11810 / 1668 / 7616) (case sensitive)
\/the literal / (4710 / 578 / 2F16)
3rd Alternative(\/u\/\w\/) \/the literal / (4710 / 578 / 2F16)
uthe literal u (11710 / 1658 / 7516) (case sensitive)
\/the literal / (4710 / 578 / 2F16)
\wa Unicode word character
\/the literal / (4710 / 578 / 2F16)
embedthe literal text embed (case sensitive) \/the literal / (4710 / 578 / 2F16)
watchthe literal text watch (case sensitive) \?the literal ? (6310 / 778 / 3F16)
\??optionally matches the literal ? (6310 / 778 / 3F16)
v?optionally matches the literal v (11810 / 1668 / 7616) (case sensitive)
=?optionally matches the literal = (6110 / 758 / 3D16)
Negated Character Class[^#&?]* *matches any number of characters outside the set below:
#the literal # (3510 / 438 / 2316)
&the literal & (3810 / 468 / 2616)
?the literal ? (6310 / 778 / 3F16)
.*any Unicode character (except for line terminators), repeated any number of times
/the literal / (4710 / 578 / 2F16)
g modifier: global. Finds all matches instead of stopping after the first