Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
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