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.

RegEx parsing

mark_9876
5 - Atom

I am new to Alteryx, and I want to split my data into new columns Country, EmpID, PlantID, and PayPeriod (W or Mo). An example of a data point I have is SWE468-4Mo, and I want to split it up like this:

 

Country- SWE

EmpID- 468

PlantID- 4

PayPeriod- Mo

 

How would one go about this?

2 REPLIES 2
TomWelgemoed
12 - Quasar

Hi @mark_9876 ,

 

Here you go!

 

Split the column first, then use the Cross Tab tool to create a column & row. Solution attached.

 

TomWelgemoed_0-1614787111084.png

 

Regards,

Tom

MarqueeCrew
20 - Arcturus
20 - Arcturus

how structured is this field?  Is it consistent in field lengths?

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels
Top Solution Authors