I have the following json,
{"master": "abc", "current": "abc", "total":[{"name":"abc"},{"name":"xyz"}]}
Now I need to validate the above json using a regular expression, that is, I need to confirm that the master value and current value are the same (in the above json both master and current has "abc" as value) and I don't care about the rest of the json
can anyone help me out with such a regex