In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more 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