How to Change list delimiter?

I want to take the paths as a list from the URL which returns the list of items separated by a comma followed by a space.

What I’d like to do is change that comma and space to a ‘/’ so as to replicate what the path list looks like in the URL itself.

My goal is to use this to set up a page redirect when a user signup or login occurs I can send the user back to the page they came from…I am using a page for my login and signup as opposed to a popup.

Any help would be appreciated.

Any regex literates know how to do this with regex?

I tried to do a ‘find/replace’ but that was not successful and regex is such a foreign thing to me I have no idea how to get some pattern put together.

If you can get the items into a list, then you can use list:"join with / " to concatenate it back.

1 Like

YES!!! Thank you. I now have a redirect for signup and login.

What I am doing is when the user clicks the link that is used to direct them to the signup/login page I put into the URL “redirect/get data from url paths as list join with /”

Screen Shot 2020-05-24 at 8.55.36 PM

Then in my workflow event for sign up or login I put a workflow event for navigation to an external URL and in that I place

Screen Shot 2020-05-24 at 8.57.08 PM

I am using from item #4 because my signup/login page has 3 items in the URL path which are ‘signup-login/signup/redirect’

signup-login is the page name, signup is the path needed for signup and redirect is to separate the URL path needed to redirect the user back to where they came from.

This is cool.

Thanks @NigelG again coming in clutch

1 Like