Alteryx Designer Desktop Discussions

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

Testing a String if it Contains a string from a reference column

markbanlawe
7 - Meteor

 

Good day,

 

How do we parse through a string of email address and identify that one of the email addresses would be in a list?

 

Sample Data

DataOutput
g;m@gmail.com;test2;test2@aol.comm@gmail.com
mel2@aol.com;f@hotmail.com;test23@test21.comf@hotmail.com
y@youtube.com;t@test21.com;r@test22.comy@youtube.com

 

Reference Column

Reference
m@gmail.com
g@yahoo.cm
f@hotmail.com
y@youtube.com
t@test21.com
r@test22.com

 

9 REPLIES 9
BS_THE_ANALYST
14 - Magnetar

@markbanlawe One way of doing this:

BS_THE_ANALYST_0-1676301350928.png

 

ChrisTX
15 - Aurora

Use a Text-to-Column tool, split to Rows, using Delimiter = semi-colon

 

Then use a Join tool, and join to your Reference column.

 

Chris

 

BrandonB
Alteryx
Alteryx

I believe that the "Find Replace" tool will work perfectly for this using the "Any Part of Field" option selected as well as Case Insensitive Find box checked potentially. 

 

BrandonB_0-1676301506591.png

 

 

 

ShankerV
17 - Castor

Hi @markbanlawe 

 

It is possible to achieve the solution in 1 tool.

One way of doing this,

 

ShankerV_0-1676301540890.png

 

RobertOdera
13 - Pulsar

Hi, @markbanlawe 

 

Please see the below.

Please mark it as an acceptable solution if it works for you. Cheers.

 

RobertOdera_0-1676301583478.png

 

markbanlawe
7 - Meteor

thank you for the suggestion 

markbanlawe
7 - Meteor

@BS_THE_ANALYST  the last row of  the output did not match the needed item

BS_THE_ANALYST
14 - Magnetar

@markbanlawe correct! My solution shows you every e-mail from the Sample Data that is featured in the Reference Column. 

 

RobertOdera
13 - Pulsar

@markbanlawe 

You are most welcome - cheers!

Labels