I’m trying to use .replaceALL on a JSON-String variable. It does work in DSL but in fails to do so in ECMA.
I want to replace all "pid":XXX (with XXX any number of digits) with "pid":+ MyVariable.
The difference between the string you say you want to replace ( “pid”: XXX ) and the expression you wrote is that the expression does not have a space in.
Not sure if that is just a typo.