Alteryx Designer Desktop Discussions

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

RegEx Parse and Text to Columns a String of Text

YLYONG
9 - Comet

Hi Alteryx Community,

 

I'm wondering if there's a way to parse the below string of text? 

 

Thank you

 

 

YLYONG_0-1629894242782.png 

YLYONG_1-1629894273311.png

 

YLYONG_2-1629894342815.png

 

YLYONG_3-1629894371728.png

 

 

7 REPLIES 7
atcodedog05
22 - Nova
22 - Nova

Hi @YLYONG 

 

You can try configuring text to column like this.

 

atcodedog05_0-1629894676947.png

 

Can you provide sample data in excel so that we get more calrity?

 

Hope this helps : )

 

YLYONG
9 - Comet

@atcodedog05 how do I upload a file?

atcodedog05
22 - Nova
22 - Nova

Hi @YLYONG 

 

You will get an option like below in the comment box to add file.

atcodedog05_0-1629895101792.png

 

YLYONG
9 - Comet
atcodedog05
22 - Nova
22 - Nova

Hi @YLYONG 

 

You can achieve this by either using text to column or regex tool parse method.

 

Workflow:

atcodedog05_0-1629895364390.png

 

Hope this helps : )

YLYONG
9 - Comet

@atcodedog05  Thank you for your input and help

 

Which "regular expression" did you choose? I am not able to reference these codes with any of the option in the drop down list.

atcodedog05
22 - Nova
22 - Nova

Hi @YLYONG 

 

Here is the breakdown of the regex

 

(  start of 1st group that needs to be extracted

\d+ one or more numbers

)  end of 1st group that needs to be extracted

\s space

(  start of 2nd group that needs to be extracted

.+ one or more any characters

)  end of 2nd group that needs to be extracted

 

This resource is helpful on the above topic:

https://community.alteryx.com/t5/Interactive-Lessons/Parsing-Data-with-RegEx/ta-p/441415

 

Hope this helps : )

Labels