Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

RegEx

KA
6 - Meteoroid

Can anyone help with this RegEx? I am trying to separate the sender name and sender email into two different columns. 

7 REPLIES 7
KA
6 - Meteoroid

Correct File

 

ShankerV
17 - Castor

Hi @KA 

 

Please let me which column you are tryin to split and at which step.

 

The workflow is huge and couldn't get which place you need to do implement Regex.

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @KA 

 

Do you need to split the sender name and email address here.

 

ShankerV_0-1669345682337.png

 

Many thanks

Shanker V

KA
6 - Meteoroid

Yes, it is that column 

ShankerV
17 - Castor

@KA 

 

Please check and let me know if this helps.

 

ShankerV_0-1669345956642.png

Regex:

"(.*)"<(.*)>

 

ShankerV_1-1669345989420.png

 

Hope your issue is resolved. Feel free to mark helpful answers as a solution, so that future users with the same issue can find them easier!!!!

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

@KA 

 

I have gone through the entire data set, where in row no 11, the input is as below.

 

ShankerV_0-1669347024493.png

 

The output shows as null and null.

 

However I believe you need the Sender name as Empty and Email address to be populated.

You can use this method to overcome this problem with the huge dataset where the name is missing in few data's.

 

ShankerV_1-1669347202941.png

 

Add Formula tool, 

 

ShankerV_2-1669347222952.png

 

And the same regex,

Then the desired output is as below.

 

ShankerV_3-1669347271843.png

 

Hope your issue is resolved for huge dataset. Feel free to mark helpful answers as a solution, so that future users with the same issue can find them easier!!!!

 

Many thanks

Shanker V

 

 

ShankerV
17 - Castor

@KA 

 

Formula tool:

if (StartsWith([Sender],'<'))
then '" "'+[Sender]
else [Sender]
endif

 

Shanker V

 

Labels