var videoid = url.match(/(?:https?:\/{2})?(?:w{3}\.)?instagram(?:be)?\.(?:com|be)(?:\/p\/|\/)([^\s&]+)/);
assume that the network address is
https://www.instagram.com/p/xxx/?utm_source=ig_web_button_share_sheet
the above rule table can be fetched
xxx/?utm_source=ig_web_button_share_sheet
but how to write: all I have to do is fetch xxx
? There is no need for
xxx