Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!

Alteryx Designer Desktop Discussions

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

How do you parse Germany zip codes from an address?

nberumen
7 - Meteor

Hello All 🖐,

I am trying to use regex or any formula to parse the Germany Zip Codes from the Cities in the first column. I want to make sure they each have their own column, see desired outcome below. What is the best approach for this?

 

 

Starting Data:

Billing City / DistrictBilling Country
D-12345 KarlsruheGermany
23456 BaesGermany
D-98745 LauGermany

 

 

Desired Outcome:

Billing City / DistrictBilling Zip CodeBilling Country
KarlsruheD-12345Germany
Baes23456Germany
LauD-98745Germany
5 REPLIES 5
binuacs
20 - Arcturus

@nberumen One way of doing this

 

binuacs_0-1664832280501.png

 

nberumen
7 - Meteor

Thank you @binuacs !

That fixed it, I appreciate the help and the quick response!

AdwaitTarudkar
8 - Asteroid

Can you also use text to column with delimiter as " " and then rename columns?

 

 

nberumen
7 - Meteor

Hello @AdwaitTarudkar ,

I did try using " " as a delimiter in the text to columns tool but some of the cities that I have also have two words and it would split them up in the wrong place. For example 12345 New York  would split in between New and York.

AdwaitTarudkar
8 - Asteroid

Hi @nberumen, That makes sense. Thanks! 

Labels