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

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