Among the wall of text that is a pages source; I need to get the video_id,l and t without the quotes so for a section like this.
‘video_id’: ‘lUoiKMxSUCw’, ‘l’: 105, ‘sk’: ‘-2fL6AANk__E49CRzF6_Q8F7yBPWdb9QR’, ‘fmt_map’: ’35/640000/9/0/115,34/0/9/0/115,5/0/7/0/0′, ‘t’: ‘vjVQa1PpcFMbYtdhqxUip5Vtm856lwh7lXZ6lH6nZAg=’,
i need the following
lUoiKMxSUCw
105
vjVQa1PpcFMbYtdhqxUip5Vtm856lwh7lXZ6lH6nZAg=
i was told to use ‘regular expressions’ but I’m not to sure how to use them. any help would be nice 🙂
The Regex to use could be:
Here’s some sample code to get you up and running:
Don’t forget to import ‘System.Text.RegularExpressions’. 😉