To give a bit of context, I am looking to find and replace tokens representing special characters such as carriage returns and line feeds. An example is
[<000010>} which represents a line feed.
What I have done and it may not be the most efficient method, is to process each column using multiple derived columns to do multiple passes of replacing strings. This allows me to replace multiple different tokens appearing in individual columns/cells.
I use a column pattern to process all columns of type string and do a string replace.
It wont let me upload any images but my solution it similar to the answer in the link below.
The difference being my case statement is something like :-
case( like($$, '%[<000013>]%'),replace($$,'[<000013>]','\r'),
like($$, '%[<000010>]%'),replace($$,'[<000010>]','\n'),
like($$, '%[<000034>]%'),replace($$,'[<000034>]','BBBBBB'),
.
.
like($$, '%[<000039>]%'),replace($$,'[<000039>]','CCCCCC'), $$)