Alteryx Designer Desktop Discussions

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

Searching for team names using a common phrase

shehryarazhar
6 - Meteoroid

I have rows of data in the following format:

 

House Team 1; Some other team; Some other team; House Team M
Some other team; House Team 2; Some other team; House Team M
Some other team; House Team Earth; House Team Mercury; House Team M; Some other team
Some other team; Some other team; House Team 5; Some other team; Some other team; House Team M

 

I am trying to extract any team name beginning with House Team except House Team M. Any simple way of achieving this? I am on Alteryx 11.5.

5 REPLIES 5
fmvizcaino
17 - Castor
17 - Castor

Hi @shehryarazhar ,

 

You can use the regex tool to accomplish that.

fmvizcaino_0-1591384355254.png

 

 

 

Regex expression to be used: (House Team [^M;]+)

Method: Tokenize - it will get multiple occurrences in the same sentence

 

And please, try to update your Alteryx as fast as you can, there are a lot of great functionalities and also support from Alteryx.

 

Best,

Fernando Vizcaino

JosephSerpis
17 - Castor
17 - Castor

Hi @shehryarazhar I mocked up a workflow let me know what you think?

 

Regex_05062020.JPG

shehryarazhar
6 - Meteoroid

Thanks @

 

 

JosephSerpis
17 - Castor
17 - Castor

Hi @shehryarazhar attached is a revised workflow should resolve cases like the example  "House Team Yellow 1"

shehryarazhar
6 - Meteoroid

Thanks that worked perfectly.

Labels