Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Address Split issue(2)

sanjit11
7 - Meteor

Hi,  

 

I am trying to achieve the result as shown in the attached file. I tried doing it using regex but I am unable to get accurate result.

Can someone assist?

 

Thanks.

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @sanjit11 

 

You can use regex like below in regex tool parse mode.

 

.+\s(\w{3})\s\w{3}

 

Workflow:

atcodedog05_0-1627047856504.png

 

Hope this helps : )

 

JoaoLeiteV
10 - Fireball

Hello @sanjit11,

 

You can use a formula to do that:

JoaoLeiteV_0-1627047989572.png

 

Just make sure all addresses have the last 7 numbers being the ZIP code.

 

sanjit11
7 - Meteor

Awesome!! Thanks alot @JoaoLeiteV and @atcodedog05 .

I suppose i really need to practice regex in depth 😅

JoaoLeiteV
10 - Fireball

Try taking a loot at Regexr. It's a good tool to check your Regex formulas and on the left panel, you can open a cheat sheet to see the possible commands.

Labels
Top Solution Authors