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