We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
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