Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

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
14 - Magnetar

@JonaV90 here's one way using one tool:

BS_THE_ANALYST_0-1677095389850.png

 

 

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
14 - Magnetar

@JonaV90 no problemo. 

BS_THE_ANALYST_0-1677098260801.png

Please find attached updated workflow.

 

JonaV90
7 - Meteor

Thank you!

Labels