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

Extract data from a string when seperated by a dash "-"

joesofine10
5 - Atom

Here is an example:  

Excess 002-0832 - L/C: 002-0949

 

 

the pattern will always be 3 numbers, dash, 4 numbers:  xxx-yyyy;  I would like to extract all instances of xxx-yyyy

2 REPLIES 2
apathetichell
20 - Arcturus

2021-06-16 (4).png

assuming there are multiple row and an unknown quantity in each row...

record id.

 

regex tool - tokenize split to rows.

(\d{3}-\d{4})

 

 

joesofine10
5 - Atom

BRILLIANT!!!  thank you!

Labels
Top Solution Authors