cancel
Showing results for 
Search instead for 
Did you mean: 

how to delete repeat text after concat

SOLVED
lilyyangadsk
Comet

how to delete repeat text after concat

lilyyangadsk_0-1659669627198.png

hi, may i ask your help how do I only show solution group only one text  "PSEB" if after concat it is same text from two line by group order number. Currently it shows "PSEB,PSEB". 

Attachment
Download this attachment
4 REPLIES 4
lilyyangadsk
Comet

how to delete repeat text after concat

lilyyangadsk_0-1659669627198.png

hi, may i ask your help how do I only show solution group only one text  "PSEB" if after concat it is same text from two line by group order number. Currently it shows "PSEB,PSEB". 

Attachment
Download this attachment

Re: how to delete repeat text after concat

Hello @lilyyangadsk, use the regex below on your group column.


\b(\w+,?),(?=.*\b\1)

grazitti_sapna_0-1659672848325.png

 

Thanks!

 

Sapna Gupta
Highlighted
NexBK
Meteor

Re: how to delete repeat text after concat

Hello @lilyyangadsk

NexBK_0-1659675324074.png

 

Use the Summarize Tool to work only on the "Solution Group" column.
First, Group by "Order Number" and "Solution Group". After that, concatenate "Solution Group" by "Order Number".
Finally, join based on Order Number.

Attachment
Download this attachment
lilyyangadsk
Comet

Re: how to delete repeat text after concat

THANK YOU VERY MUCH, it works!

Re: how to delete repeat text after concat

may i ask where i can learn these  \b(\w+,?),(?=.*\b\1) that represent what? thank you