- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-09-2022 02:17 AM
Hello,
Some data is introduced in XSOAR with line breaks. Example:
data1,
data2,
data3,
data4
This data is joined with "," to be introduced in a task. However, data is not parsed correctly and the line breaks are introduced, causing an incorrect output.
How can this line breaks be removed?
12-14-2022 02:32 PM
Hey @Josep,
To remove line breaks you can use the "Replace match" transformer, which is used for replacing text that matches a given regex.
The regex would be \n and the replaceWith argument will be left empty, to simply remove the line break:
12-15-2022 11:32 PM
It's working!! Thanks!!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!