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

RegEx Pattern Desired Ouputs

JonaV90
7 - Meteor

Hi all,

 

I am trying to pull out desired columns from a string column that has many pieces of data.For this purpose, I just want to pull out 3 desired columns, station, DSP, and number.

 

The screenshot below shows what I'm trying to accomplish. The Pattern column is the different variations of the string column for the 3 columns I would like to pull out. There are 4 different patterns.

 

Can someone help me pull out these 3 different columns from the one string column using one RegEx tool?

 

JonaV90_0-1677094573272.png

 

Thank you,

 

4 REPLIES 4
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@JonaV90 here's one way using one tool:

BS_THE_ANALYST_0-1677095389850.png

 

 

All the best,
BS

LinkedIN

Bulien
JonaV90
7 - Meteor

@BS_THE_ANALYSTI found I have 2 more different patterns (5 and 6). Can you please include this in the RegEx? Also, can you help me pull out the rest of the string into a 4th column?

 

JonaV90_0-1677097757486.png

 

BS_THE_ANALYST
15 - Aurora
15 - Aurora

@JonaV90 no problemo. 

BS_THE_ANALYST_0-1677098260801.png

Please find attached updated workflow.

 

All the best,
BS

LinkedIN

Bulien
JonaV90
7 - Meteor

Thank you!

Labels
Top Solution Authors