Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Remove Multiple Different Strings

mohdhafiz
6 - Meteoroid

Hi, is there any ways I can do to remove the dots (.....) from the fields. There are many dots in my data where some of it have 5 dots and others have 3 dots. Currently, I am using the Multi-Field Formula to remove each cases. I am really appreciate if you guys can help. Attached below is the sample data that I working on right now. Thank you.

3 REPLIES 3
ImadZidan
12 - Quasar

Hello @mohdhafiz ,

 

You can use a formula to do this.

 

See attached. two formula tools. One to replace many dots with one and another with nothing. Choose whichever convenient.

It will at least give you an idea.

grazitti_sapna
17 - Castor

Hi @mohdhafiz , try this.

 

Regex- \.\.+

 

grazitti_sapna_0-1600319750512.png

 

If you could provide a sample dataset I could verifiy the regex.

 

Thanks.

 

Sapna Gupta
vizAlter
12 - Quasar

Hi @mohdhafiz — Try to use this formula:

 

REGEX_Replace([Field1], "(\s)([.]+)(\d)", "$1$3")

vizAlter_0-1600319905027.png

 

Labels