Alteryx Designer Desktop Discussions

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

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

Hoss2434
Meteoro

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 RESPOSTAS 2
binuacs
Arcturus

@Hoss2434 Something like this

 

binuacs_0-1675807582500.png

 

 

ShankerV
Castor

Hi @Hoss2434 

 

One way of doing this.

 

ShankerV_0-1675807064279.png

 

 

ShankerV_0-1675807002943.png

 

Rótulos