Regex to remove Key/Value in a JSON Object
I have a JSON like below: {"queueNumber": "123","field":"name",UserId":[12,12,34],"cur":[{"objectName":"test","uniqueNumber":"123456"}]} I want to remove the key-value pairs if it matches key or value matches the given field. I am using the below regex.It is not removing the key if the type of…