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

How can you use Regex to parse positions from 1-N?

hellyars
13 - Pulsar

New to Regex.   

 

How can I parse the original to this type of output?  

 

Thanks 

 

OriginalParse 1Parse 2Parse 3Parse 4
042-11   
042-1.111.1  
042-1-10.111.101.10.1 
042-1.1.1.10 1.11.1.11.1.1.10
     
1 REPLY 1
hellyars
13 - Pulsar

I think I have it started. 

 

\d.+-(\d.+)

\d.+-(\d.+\d)

\d.+-(\d.+\d.\d)

\d.+-(\d.+\d.\d.+\d)

 

Is that right?

 

Labels
Top Solution Authors