Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Fetch the data after the number

Sshasnk
8 - Asteroid

Hi I have a dataset and and I have to fetch some values after that number

 

Example: 

 

Example:

Input:

StringNumber after
\abc_Apple\folder\Num1234\apple\fruit123.xlsx1234
\ac_Appl\Num124\P01-P12\fruit123.xlsx124
\abcd_Appl\Num134\B12_B12\fruit123.xlsx134
\\abced_Apple\12Num1234\Bannana\fruit123.xlsx1234

 

The number and  backslash word/Code backslash -> I want to extract the code/word in between the backslash and after number

Output:

 

StringNumber afterResult
\abc_Apple\folder\Num1234\apple\fruit123.xlsx1234apple
\ac_Appl\Num124\P01-P12\fruit123.xlsx124P01-P12
\abcd_Appl\Num134\B12_B12\fruit123.xlsx134B12_B12
\\abced_Apple\12Num1234\Bannana\fruit123.xlsx1234Bannana
3 REPLIES 3
binuacs
21 - Polaris
Sshasnk
8 - Asteroid

@binuacs The backslash could be anywhere, Sorry I did not mention it. So regex should be based on the number after column and after we should pick the value

binuacs
21 - Polaris

@Sshasnk try the below regex

image.png

Labels
Top Solution Authors