Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Parsing Data to Their Specific Columns

mohdhafiz
6 - Meteoroid

Hi, I am using RegEx tool to parse the data so that it have their own column. However, my regular expression is not working. I have two excel files attached together below. Can anyone help me with this? I really appreciate it if you guys can help. Thank you.

 

 

Output needed: 

Parse Output.PNG

3 REPLIES 3
JoeL
Alteryx
Alteryx

Hi @mohdhafiz 

Try this Regex out:

(\d[\d\.]+).*?([^\d]+).*?(\d[\d\.]+).*?(\d[\d\.]+)

 

Regex to parse.png

vizAlter
12 - Quasar

Hi @mohdhafiz — Try this solution... you need to use "RegEx" tool:

 

1st RegEx expression for "Parse" output method:

(It will create four new columns as per your desired output)

 

(\d+)\s([^\d]+)([\d.]+)[.\s]+([\d.]+)

 

 

vizAlter_0-1600724101821.png

 

2nd RegEx expression for "Replace" output method:

(It will remove extra spaces or "." from the end)

 

([\s.]+$)

 

vizAlter_1-1600724141033.png

 

Please mark it "Solved" or "Solved" with a Like if it resolved your query. This will help other users find the same answer/resolution.  Thank you.

vizAlter
12 - Quasar

@mohdhafiz — Hope this post is solved now.

Can you please mark it "Solved" if given solution(s) resolved your query. This will help other users find the same answer/resolution.  Thank you.

Labels