- Posts: 7
- Thank you received: 0
Extract name and organization from an e-mail address
7 years 7 months ago #14410
by Ervin
Extract name and organization from an e-mail address was created by Ervin
I need help on how to generate an expression that will extract the name, organization/company and if possible the domain/Subdomain
I have a set of e-mails of commonly seperated by dots or formatted by uppercases - this should distinguish the first and last name, else the last name will return as null
For example the following email address (note: @ sign was replace with (at) because e-mail addresses are protected on this forum for spambots)
JOHN.DOE(at)QANTAS.AU
MichaelGreen(at)harvard.edu
jonathanreids(at)alitalia.it
kevinlee(at)gmail.com
should return
First Name Last Name Organization Other
John Doe Qantas Australia
Michael Green Harvard Education
jonathanreids NULL Alitalia Italy
kevinlee NULL GMAIL Commercial
I have a set of e-mails of commonly seperated by dots or formatted by uppercases - this should distinguish the first and last name, else the last name will return as null
For example the following email address (note: @ sign was replace with (at) because e-mail addresses are protected on this forum for spambots)
JOHN.DOE(at)QANTAS.AU
MichaelGreen(at)harvard.edu
jonathanreids(at)alitalia.it
kevinlee(at)gmail.com
should return
First Name Last Name Organization Other
John Doe Qantas Australia
Michael Green Harvard Education
jonathanreids NULL Alitalia Italy
kevinlee NULL GMAIL Commercial
Please Log in or Create an account to join the conversation.
7 years 7 months ago #14425
by admin
Mike
ETL Architect
Replied by admin on topic Extract name and organization from an e-mail address
Mike
ETL Architect
Please Log in or Create an account to join the conversation.
7 years 7 months ago #14426
by admin
Mike
ETL Architect
Replied by admin on topic Extract name and organization from an e-mail address
See attached actual transformation
Mike
ETL Architect
Please Log in or Create an account to join the conversation.