cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

How do you split 2 URLs if there is no delimiter in the string

Jump to solution

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.xlsxh...

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.

Labels: (2)
0 Kudos
Reply
2 Replies
Highlighted
Nintex Newbie

Re: How do you split 2 URLs if there is no delimiter in the string

Jump to solution

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.

View solution in original post

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How do you split 2 URLs if there is no delimiter in the string

Jump to solution

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

0 Kudos
Reply