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

Split Text to Columns

katonyaj
6 - Meteoroid

I am trying to split the following text in the columns as such with the before split into multiple columns so I can later group by columns B and D

 

katonyaj_0-1617809335843.png

 

I have also attached the excel file for reference

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

 Hi @katonyaj 

 

We can do this with regex parsing:

 

(.*)\.(.*)\.{3}(.*)\s(.*)

 

  1. (.*)\. - anything before a period
  2. (.*)\.{3} - anything between the first item and 3 periods
  3. (.*)\s - anything between the 2nd item and a space
  4. (.*) - any remaining characters

 

Luke_C_0-1617810104880.png

 

mpennington
11 - Bolide

See attached.

 

(.*?)\.(.*?)\.{3}(.*?)\s(.*)

 

Split RegEx.jpg

katonyaj
6 - Meteoroid

Thanks a bunch!!

Labels