I have a few hundred URLs that include campaign ID strings within them. I need a way to separate out the specific IDs from each URL.
All of the campaign IDs are preceded by "?cid=" and they all follow a pattern of having seven sets of characters, each separated by a dash (e.g. xx-xxx-xxx-xx-xx-xxx-x). The problem is that the number of characters in each set is not consistent. Only the number of sets remains the same.
Is there a way to extract just the specific string of characters immediately following the "?cid=" that includes those six dashes?
Thanks,
Sbrien
All of the campaign IDs are preceded by "?cid=" and they all follow a pattern of having seven sets of characters, each separated by a dash (e.g. xx-xxx-xxx-xx-xx-xxx-x). The problem is that the number of characters in each set is not consistent. Only the number of sets remains the same.
Is there a way to extract just the specific string of characters immediately following the "?cid=" that includes those six dashes?
Thanks,
Sbrien