Alteryx Designer Desktop Discussions

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

How to find out triple alphabets in one sentence.

Rkaran001
5 - Atom

I am sharing some examples of the triple alphabet with attach files

2 REPLIES 2
nagakavyasri
12 - Quasar

Add a text input with possible triple alphabets and follow this:

 

Screenshot 2023-06-14 141509.png

alisonpitt
11 - Bolide

You can also do this with the Regex tool and a Formula tool.

alisonpitt_0-1686767846295.png

alisonpitt_1-1686767921634.png

 

Basically, you're identifying the tripled character, and then removing the triple value from the string.

 

Regex tool parse uses: ([a-zA-Z])\1\1

 

Formula tool uses [StringOut] + [StringOut] + [StringOut] to build the triple, then:

  1. TRIM(REGEX_Replace([Name], [StringOut], '')) to edit the new name
  2. REGEX_Replace([New Name], '\s+', ' ') to remove duplicate whitespace
Labels