Skip to main content

I have a Call Web Service action that does a GetAttachmentCollection method.  The results are:

https://website.com/SiteDirectory/Department/Lists/TradeShowRequest/Attachments/284/Excelsheet.xlsxhttps://website.com/SiteDirectory/Department/Lists/TradeShowRequest/Attachments/284/textfile.txt

How can I split the 2 URLs if it does not have a delimiter after the first URL?    I want to split it right after Excelsheet.xlsx and before the next https.  Please help.

I am not a reg ex pro, but try something like this in a regular expression.  (?=https) with it set to split.  Should store each URL in a collection variable.


Perfect!  Except I modified it a bit with (?=https|http) to catch any https or http filepath.  Thank you Parker!


Reply