I am not a programmer by trade but I need to create a rule in Google Tag Manager using regex. My goal is to look at a URL and find two separate group matches in the URL. Here is a sample URL
http://123.website.com/?&guid=blahblahblah&page=something&type=abc&adv=abc1234&site={siteID}
I originally had this regex below which worked great if it weren't for the "&guid=blahblahblah&page=something&" in between the two groups. How do I check for those two groups in one expression?
(http:\/\/)(([0-9])|([0-9][0-9])|([0-9][0-9][0-9]))\.website\.com\?(type\=abc)
Bonus: How can I make it check for https as well as http?
thx!