Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Regex Name from Email Address

andrewmcateer
6 - Meteoroid

Hi all, 

 

I have an output from a form that collects email address information upon submission. I'm hoping to use Regex (or anything for that matter) that can pull out the name from the email address. 

 

I'm able to write the Regular expression for each individual instance, but not for the fact that there can be 4 discernible patterns. Any help would be appreciated. 

 

The issue is that some email addresses will have a simple two-name structure. Others have ".letter." between names. Others have multiple names. 

 

Any help would be appreciated. 

 

I also note that the apostrophe in e.g. O'Neal is a separate issue (one that I face) but doesn't need to be solved by this query. 

 

Thanks in advance for any help. 

2 REPLIES 2
binuacs
20 - Arcturus

@andrewmcateer One way of doing this

 

binuacs_0-1667317761450.png

 

andrewmcateer
6 - Meteoroid

Thanks @binuacs - worked a charm

Labels