ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Regex to convert email to regular name

wonka1234
ファイアボール

Hi,

 

Is there a way to use regex to change email format from:   "JOHNSMITH@GMAIL.COM" to JOHN SMITH?

 

Thanks.

 

 

3件の返信3
MarqueeCrew
20 - Arcturus
20 - Arcturus

@wonka1234 ,

 

A better question might be what to do with:

 

SAMISMITH@gmail.com

 

Is it Sam I Smith or Sami Smit?

 

If you have a ROBUST list of last names, you could parse the names based upon the known last names and break it up that way.

 

Cheers,


Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
EN6924
ファイアボール

EN6924_0-1647983125180.png

 

OllieClarke
16 - Nebula
16 - Nebula

@EN6924 The problem with this approach is you've baked in the assumption that all first names are 4 letters long and all surnames are 5 letters long. Like @MarqueeCrew says without a list of names there is no way to robustly parse the email into first names and surnames...

ラベル
トップのソリューション投稿者