Interview Questions

Regex to find json value for a key

Use the following regex to retrieve the value for the key.

("<key>".+?)(")(.+?)(")

Replace the "" with the exact key of the json.

0
No votes yet
Your rating: None