Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Regex Formula Help

blwhitehorne
5 - Atom

Hello,

 

In the attached workflow I am using a regex formula to remove duplicate values after concatenating them using a summarize tool. The second formula just adds a space to make it more pleasing to the eye. I use this formula in several workflows and typically have great results. Recently I have found that this formula only works when concatenating single values that do not contain spaces or special characters. I have examples of each scenario in the attached workflow. Is there a different expression I can use for the values with spaces or special characters? Thanks in advance for any help!

2 REPLIES 2
johnyli168
Alteryx
Alteryx

Hey there,

See my response below without using any regex. 

 

I've also attached the workflow so you can have a look at it.

 

 

johnyli168_0-1653370107962.png

 

blwhitehorne
5 - Atom

Ahh, makes perfect sense. Thanks!

Labels