Javascript Regex to match value of JSON key value pair
You can use the pattern:
[:]\s(\".*\")
and test it following this link: https://regex101.com/r/nE5eV3/1
I guess this one does the job also well. One good part it doesn't use any capture groups one bad part it's more costly compared to the accepted answer.
[^:]+(?=,|$)
Debuggex Demo
Regex101 Demo
Get value
[^:"]+(?="})
Get value by key
If you wish to select a specific key that can be done like so:
[^:KEY"]+(?="})