hi thanks for the response, the data arrives as a long urlencoded string from an HTTP request to the YouTube gdata API. I've already decoded it
Your code works, however the quality=large at the end could be quality=small quality=medium etc so I can't use that in the regex. I suppose I just need to match a pattern which is
itag=\d{1:2}&url={any number of chars until next itag=\d{1:2}&url= pattern}
There's also a comma separating the itag url pairs
I hope that makes sense!
In reply to Re^2: Split on regex, don't match partial regex
by aldo
in thread Split on regex, don't match partial regex
by aldo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |