In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

String Parsing and matching

Komal_
7 - Meteor

Hi All,

 

I have below dataset and also mentioned the expected output from the data set -

 

DataValueMatch/Mismatch
CATERPILLAR|ININMATCH
CATERPILLAR|INCATERPILLARMATCH
CATERPILLAR|INAMISMATCH
CATERPILLAR|INCATMISMATCH
BUBBLE GUM|BOXBUBBLEMISMATCH
BUBBLE GUM|BOXBOXMATCH
BUBBLE GUM|BOX|PINBUBBLE GUMMATCH
BUBBLE GUM|BOX|PINPINMATCH
BUBBLE GUM|BOX|PINBMISMATCH
BUBBLE GUM|BOX|PINPMISMATCH

 

The issue is there is no constant blocks (|) between the each word in each row. They could be multiple.

any help is appreciated.

 

Thanks in Advance,

Komal

2 REPLIES 2
griffinwelsh
12 - Quasar

You need to use the tokenize function of the regex tool. Expression is ([^|]+). Sample solution workflow is attached.

binu_acs
21 - Polaris

@Komal_ using text-column tool

image.png

Labels
Top Solution Authors