Hi all,
I am saving an attachment from an email into a folder and then need to take that new file and insert it into a variable to use in a write cell activity. I can access the file name through Item.ToString in a ForEach but am having trouble using Regex or Split methods to extract the filename into a variable to be able to write that variable to excel.
For example: "C:\Users\ () \Documents\UiPath\ () \ (*) \ () \ ‘FileName’.