In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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 Alumni (Retired)

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
Top Solution Authors