I have a load of jibberish data with this somewhere in the middle:
"video_id": "hGosI8rBVe8"
And from this, I want to extract hGosI8rBVe8
. Note that what I want to extract can be of any length, and can include upper/lowercase letters and numbers. This is what I've tried so far:
"video_id": "(.*)"
and:
"video_id": "([a-zA-Z0-9]*)"
But they carry on matching way past the " at the end of what I want returned. I'm pretty sure this is because of the *
(greedy)... but I see no other way to do it because what I want returned will be of variable length.
Any help is appreciated, cheers.