I've tried using the String Replace function and Regex Replace function, reading from a file with a File Contents variable.
The contents of the file are very simple:
col1|col2|col3
a|b|c
1|2|3
x|y|z
The desired output would be:
col1|col2|col3
a|b|c
1|2|3
x|y|z
These are a few examples that I've tried and they all result in an output of "Error in argument"
{STRING(Replace|{FILE(Content|C:\testing\pipes.txt)}|\r\n\r\n|\r\n)}
{STRING(Replace,{FILE(Content,C:\testing\pipes.txt)},\r\n\r\n,\r\n)}
{REGEX(Replace,{FILE(Content|C:\testing\pipes.txt)},[\r\n\r\n],[\r\n])}
I've also tried having one task read the file and the next task use the output, this gave the same result of "Error in argument"
{REGEX(Replace,{TASK(PrevTask,StdOut)},[\r\n\r\n],[\r\n])}
Any advice would be greatly appreciated.
Thank you!