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

olehr
8 - Asteroid

Hi there. 

 

I have some data that is slightly difficult to work with. A sample is pictured below. Car Data1.PNG

 

This is how the data is currently, and what I want is to parse out the car brand, model and year in separate fields, such as the example below. 

 

Car Data2.PNG

 

This seems to require regex-skills that i do not have 😛 

 

Could someone help me with this? 🙂

 

 

2 REPLIES 2
OllieClarke
16 - Nebula
16 - Nebula

HI @olehr Using a regex tool with the following formula you get what you want:

 

(\S+)(.*?)(\d{4})(.*)

 

Then a multi-field formula to remove any leading or trailing spaces.

OllieClarke_0-1571910756261.png

However, this is based on the logic that car brands are single words. Otherwise it is very difficult to tell the difference between a car brand and a model - e.g. 'Volkswagen New Beetle' and 'Alfa Romeo Spider'.  If you had a lookup table of car makes, then that would probably be a better way of doing this

 

OllieClarke_1-1571911174346.png

 

I've attached both workflows below

 

olehr
8 - Asteroid

Thank you @OllieClarke, this helped 🙂

Labels
Top Solution Authors