Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

How to remove extra periods from a string field

Adarsh_R
5 - Atom

Hi,

I have values like 

ACC.BBB.TM
C.QMM.UZZ
DH.QPP.Z

I require the data like

ACCBBB.TM
CQMM.UZZ
DHQPP.Z

No extra periods in between..

Thanks in advance for the solution

4 REPLIES 4
afv2688
16 - Nebula
16 - Nebula

Hello @Adarsh_R ,

 

How about this?

 

Regards

jacob_kahn
12 - Quasar

Hi @Adarsh_R 

 

In your example, you can use the ReplaceFirst function to get the job done.

 

I've attached an example workflow.

 

the_jake_tool_0-1617103016993.png

 

Jacob

ChrisTX
15 - Aurora

Another RegEx option:

 

REGEX_Replace([your_field], "\.(?=.*\.)", "")

 

Chris

Adarsh_R
5 - Atom

Thanks, Chris and everyone for your help...

Labels