Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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