We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to write a regular expression to parse out between "/get" and "?" in a API URL

Hoss2434
7 - Meteor

Hello,

 

I am trying to parse out the API endpoint name from a URL. I am trying to use Regex, but with no luck.

Here is an example of what I want:

 

Before:

https://example-api.net/value/getDesiredValue?filters.date=2022/10/12

 

After:

DesiredValue

 

If anyone can help that would be greatly appreciated.

Thanks!

2 REPLIES 2
binuacs
21 - Polaris

@Hoss2434 Something like this

 

binuacs_0-1675807582500.png

 

 

ShankerV
17 - Castor

Hi @Hoss2434 

 

One way of doing this.

 

ShankerV_0-1675807064279.png

 

 

ShankerV_0-1675807002943.png

 

Labels
Top Solution Authors