How to split string by multiple new line

How Can I split string value by multiple newlines?

I want the name of the file from the string and replace the attachment value

The string can contain a number of files name

My value is : "\n Attachments\n \n \n Mi Parcel (1).xlsx\n \n \n \n \n 09-Sep-2020-10-44 (1).csv\n \n \n \n \n 9-Sep-2020-10-46 (1).csv\n \n \n \n \n RE.xlsx\n \n \n \n \n Return.xlsx\n \n \n \n \n IN.xlsx\n \n \n \n \n XYZl 2020.xlsx\n \n \n \n \n Abx may expected.xlsx\n \n \n “”

Regards,
Bala.S

@BALASUBRAMANIAN
grafik

You could also test with this regular expression with the Matches activity.

.+\..+(\n|$)

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.