I'm trying to parse some text using JavaScript which has sections like this:
I want to obtain the "something_here" out of that
string. To do that, I wrote this regex:
My hope was that this would match any text that follows id10.val" and match any text it found until another " was reached. The problem is that it's very possible for there to be another " somewhere else in this string. When that happens, my regex doesn't match just what id10.val refers to but everything in the String up to the final ".
Is there any way to get around this? Basically, I want to get all text up to the first " but no more.
Thanks.