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
binu_acs
21 - Polaris
Sshasnk
8 - Asteroid

@binu_acs 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

binu_acs
21 - Polaris

@Sshasnk try the below regex

image.png

Labels
Top Solution Authors