Alteryx Designer Desktop Discussions

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

Extract value between special charachter

Sshasnk
8 - Asteroid

I have dataset which I have to extract between 1st and 2nd "_"

 

Input: 

Name_Id
Mutual Fund - ABC_Instant -123_corporation.xlsx
Credit Fund - ABC_Sell -123_corporation.xlsx
Credit Fund_Sell -123_corporation.xlsx

 

Output:

 

Name_Id
Instant -123
Sell -123
Sell -123
4 REPLIES 4
IraWatt
17 - Castor
17 - Castor

Hey @Sshasnk,

Probably the best way to do this is with the text to columns tool with _ as the delimiter:

IraWatt_0-1667324736944.png

Then just drop the exstra columns with a select tool:

IraWatt_1-1667324765855.png

Any questions or issues please ask

Ira Watt
Technical Consultant
Watt@Bulien.com 

 

 

 

IraWatt
17 - Castor
17 - Castor

@Sshasnk definitely check out the getting started learning path on the community it has some great and quick interactive videos which will help you get started with the basic tools in Alteryx: Interactive Lessons - Alteryx Community

binuacs
20 - Arcturus

@Sshasnk One way of doing this 

 

binuacs_0-1667327166165.png

 

CarliE
Alteryx Alumni (Retired)

@Sshasnk 

 

 

You can also use the regex tool 

 

CarliE_0-1667333046599.png

 

if this helped to solve your problem, please be sure to mark it as a solution.

 

Carli
Labels