I try to use a regular expression to replace linebreaks in a multiline string (an address) with ", " but I cannot get the RegEx action to work. The action is executed but the linebreaks are still there, nothing has changed (when I test the action or even when it is really executed).
The action looks like this:
Also tried (but only in test mode) to use a linebreak manually entered (not with the expression) but it didn't change anything. And I also tried to do the task by using a "build string" action with the use of the fn-replace function, which lead to the fn-replace text written to the variable - so I would prefer the RegEx-action to work.
Any ideas?
Solved! Go to Solution.
Hi Patrick,
Try using this expression in the Pattern (Muster) field of your regular expression: [\r\n]+
Thanks, works like a charm. Btw, this would also work: [{Common:NewLine}]+