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?

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels