Regular expression for Payload in json format containing Anything or nothing

Viewed 11

I require Regular expression to obfuscate a payload field consisting Logs with anything (Alphabets, Number, Alphanumeric, Special characters, space, or even nothing)

I considered (.*) but it doesnt work for a json formatted field.

Any suggestions pls.

Payload looks like:

{\n \"caller_id\": \"IntegrationUser_LogicMonitor\",\n \"urgency\": \"2,\n \"category\": \"down\",\n \"subcategory\": \"interface\"}
0 Answers
Related