Split Variable in two at "return"?

You need to use Search using Regular Expression action.

RegEx:
^(.*)[\n\r](.*)

Note that the RegEx allows for EITHER a linefeed (\n) OR a return (\r) as the line separator. Linefeed is the most common today, but you will still sometimes see return used.

image


image


BTW, in the future, please put all data in a Code Block so that all characters are properly preserved on the web page.

Questions?

3 Likes