Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Extracting Email Address

KamenRider
11 - Bolide

Hi,

 

I attached a file where it consist of owner names and its email address in one cell being separated by a semi-colon. I have provided different scenarios and would like results to be like this:

 

snippits.JPG

Please advise.

 

Thanks,

Kamen

 

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

Hey @KamenRider there's a bunch of ways to do this but here's one. First we just split the records to a row each using Text To Columns, with semicolon as the delimiter. After that you just need to take your pick on how you want to parse really, I've used the following:

 

Left([Email],STRCSPN([Email],'<')-1)

 

REGEX_Replace([Email], '.*<([^>]+).*', '$1')

 

For the [Name] and [Email Add] respectively. Hope this helps!

 

222.png

KamenRider
11 - Bolide

Thanks @DataNath . You nailed it.

 

Kamen

Labels