Alteryx Designer Desktop Discussions

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

parse out the data from a single cell

Haokun
8 - Asteroid

hi regex lovers,

 

below is my data set, all the information is in 1 single cell and i wish to parse out the information contains entity/employer/company into another column. 

 

Input data (there are 2 records, each record is in a single cell)

 

Submission due to AD2020

Business Interests

Name of Entity: abc Insurance Agency (S) Pte Ltd

Place of Incorporation/ Establishment: Singapore

Nature of Business: Insurance 

Business Interests:  Sole Proprietor

Date of Acquisition:

Date of Cessation: 2020-09-15

Concurrent Employment

Name of Employer: BCD Cathedral

Nature of Business: Church

Job Title: Senior Pastor

Nature of Duties: search and groom a successor

Date of Commencement: 2022-08-14



expect output

abc Insurance Agency (S) Pte Ltd
BCD Cathedral
3 REPLIES 3
ShankerV
17 - Castor

Hi @Haokun 

 

One way of doing this.

 

ShankerV_0-1678352687341.png

 

Input was:

ShankerV_1-1678352700636.png

 

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

Hi @Haokun 

 

Step 1: Input

 

ShankerV_0-1678352753567.png

 

Step 2; Record Id

ShankerV_1-1678352793755.png

Step 3:

 

ShankerV_2-1678352826442.png

ShankerV_4-1678352842635.png

 

 

Many thanks

Shanker V

 

 

ShankerV
17 - Castor

Hi @Haokun 

 

Step 4: Filter tool.

ShankerV_0-1678352897185.png

 

ShankerV_1-1678352904965.png

 


Contains([Field1],"entity") or
Contains([Field1],"employer") or
Contains([Field1],"company")

 

 

Step 5: Regex tool.

ShankerV_2-1678352938318.png

:(.+)

ShankerV_3-1678352944057.png

 

Step 6; 

ShankerV_4-1678352991539.png

ShankerV_5-1678353002324.png

 

Many thanks

Shanker V

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels