I have a string:
tel:+13172221234;foo=1234;bar=000-000-000;wombat=mydomain.com
Note that the string always begins with tel:+{{some-number}}. I want to capture so that I have the following:
+13172221234
foo
1234
bar
000-000-000
wombat
mydomain.com
What I have is this: ([^?=&;]+)=([^;]*) which returns three matches, each with a variable and a value (i.e., foo/1234). However I cannot seem to capture the number in front. I would think that simply putting a tel:(\w+) in front would do it but it doesn't work.
https://regex101.com/r/cM2pQ5/2
Anyone able to help? Maybe I should just do two separate regexes?