Alteryx Designer Desktop Discussions

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

Attempting to match data

bvolles
8 - Asteroid

Hello all,

I am hoping I can get a little assistance in matching garbage data.  I have to Excel tabs see below

 

Tab1

Group IDGroup Name
012345Legacy Healthcare Services
543210Brame Specialty
000023Triad Medical Services
ABCDAW North Carolina

 

Tab2

Subject
January 2021 North State Communications - Monthly Reports #$* %%%
January 2021 North State Communications - Monthly Reports #$* %%%
January 2021 North State Communications - Monthly Reports #$* %%%
January 2021 North State Communications - Monthly Reports #$* %%%
January 2021 Forsyth Country Day School (Non PHI) - Monthly Reports !@^ %%%
January 2021 Forsyth Country Day School (Non PHI) - Monthly Reports !@^ %%%
January 2021 Forsyth Country Day School (Non PHI) - Monthly Reports !@^ %%%

 

What I need to do is remove everything before the name of the group so January 2021 would need to be removed and then everything from the - onwards.  The issue is that the string length varies.  I am thinking this might be a regex use case but I just cant seem to get it to work.  Any thoughts/ideas/solutions are much appreciated.

5 REPLIES 5
messi007
15 - Aurora
15 - Aurora

@bvolles,

 

Please see below how you can do it :

 

messi007_0-1642105605220.png

Attached the workflow,

 

Hope this helps!

 

Regards,

bvolles
8 - Asteroid

Yea I was thinking it would be regex.  Thank you so much!!

bvolles
8 - Asteroid

@messi007  What if I wanted to remove the (Non PHI) after some of the names?

messi007
15 - Aurora
15 - Aurora

@bvolles,

 

Here you go!

 

messi007_0-1642106973298.png

Attached the workflow.

Regards

bvolles
8 - Asteroid

Works perfect Thank you!!

Labels