I have a string which looks like:
"some token","another token","yet another token","Necessary Token","KNOWN TOKEN","next to known token"
How to get "Necessary Token" with regular expression from the given string?
I tried the next expression:
\"(.+)\","KNOWN TOKEN"
but it matches the whole substring from the beginning to the "KNOWN TOKEN" part. I need to make it 'lazy' but I cannot manage how to achieve this (I tried to put question marks after the first group and inside it and it didn't work).