Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

need assistance parsing data into columns

bilal0310
6 - Meteoroid

Hi , I'm trying to parse data into separate columns from a .txt input that I have. Below is a screenshot with the red lines indicating a separate column that's needed. I was able to parse some data using RegEx but having issues with col 2 & Col3 since there is only one space between them. Any help appreciated.

 

bilal0310_0-1614632845300.png

 

5 REPLIES 5
mceleavey
17 - Castor
17 - Castor

Hi @bilal0310 ,

 

We'll need a sample of the data to accurately build this for you.

Can you send the data of that contained in the screenshot?

 

M.



Bulien

bilal0310
6 - Meteoroid

hanks, just added an attachment

mceleavey
17 - Castor
17 - Castor

Hi @bilal0310 ,

 

I simply replaced the double spaces or more than double spaces with a ^ using regex.

I then simply split out using text to columns.

 

Hope this helps,

 

M.



Bulien

bilal0310
6 - Meteoroid

Thank you , that helped!

mceleavey
17 - Castor
17 - Castor

no problem.gif



Bulien

Labels