AnsweredAssumed Answered

How to remove/replace linebreaks from multiline string value?

Question asked by shihan on Oct 24, 2016
Latest reply on Oct 25, 2016 by shihan

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:

RegEx Action

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?