I need to substitute part of the body request with 2 json key-values pairs. I figured out the find regexp using https://regex101.com/ and it works, but I can’t find how do I add new line in substitution string. Could you pls suggest?
for example [\r\n\t\v]+”key1″: “value1”,[\r\n\t\v]+. to be replaced with “key1”: “value1”,\n “key2”: “value2”,\n.
It does not interpret \n and uses it as a string, unfortunately.
So, I need a two line substitution, like: