Suppose I have this text
{"Name":"aaa","Value":"aaa1"}
how do I get "aaa1" from this?
I tried this one (?<=").*(?=") but it does not work.
thanks
>Solution :
You could always parse the JSON itself. However, if it has to be regex, I tested this and it seems to work.
(?<=")[^"]*(?="\})
Important note: The JSON must be a one-liner with no spaces between the last " and }