Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities here
Start Free Trial

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
16 - Nebula
16 - Nebula

Another RegEx option:

 

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

 

Chris

Adarsh_R
5 - Atom

Thanks, Chris and everyone for your help...

Labels
Top Solution Authors