Hi Alumio,
Kind of often we get a case where we’d like to dynamically replace a piece of a string.
The case we had today:
“Change the SKU into the new SKU. The new SKU is basically the old SKU, but change the “series code” component in the SKU to the new “series code” component (available in the dataset).”
So for example SKU is “10001-001-XL” and the new “series code component” is “002”. The old “series code component” would be “001”.
What would be great, is if we could use the PCRE Replace mapper like this:
Search: /^([0-9]{5}-)([0-9]{3})(.*)$/
Replace: $1&{newSeriesCode}$3
Another case I had is where I needed to dynamically change URLs that were in a string (HTML formatted). I had no other choice than going for the Code Transformer. But it’d be great if it was possible natively.