?repeats the group contents below at most once:
httpthe literal text http (case sensitive) s?optionally matches the literal s (11510 / 1638 / 7316) (case sensitive)
:the literal : (5810 / 728 / 3A16)
//videothe literal text //video (case sensitive) .any character (except for line terminators)
foxnewsthe literal text foxnews (case sensitive) .any character (except for line terminators)
com/v/the literal text com/v/ (case sensitive) Group 2(video-embed.html\?video_id=) video-embedthe literal text video-embed (case sensitive) .any character (except for line terminators)
htmlthe literal text html (case sensitive) \?the literal ? (6310 / 778 / 3F16)
video_id=the literal text video_id= (case sensitive) +matches at least one character from the set below:
0-9one character from 0 (4810) to 9 (5710)
/?optionally matches the literal / (4710 / 578 / 2F16)
.*any character (except for line terminators), repeated any number of times
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string