Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Split a column based on a text

Arunima_S
7 - Meteor

Hi,

 

I am trying to split a column based on "00000000" in a string using Reg Ex.

 

Input:

Field 1
aeccr53424,drgef3245300000000fanewors
 
wedx253wdasdfkjre00000000wec244255v
 
kerthwdk00000000ertogisnfslae

 

Output:

Field 1Field 2
aeccr53424,drgef3245300000000fanewors
  
wedx253wdasdfkjre00000000wec244255v
  
kerthwdk00000000ertogisnfslae

 

 

Please help!

 

Thank you!!

2 REPLIES 2
ChrisTX
16 - Nebula
16 - Nebula

Use the RegEx tool with Output Method = Parse, with this Regular Expression:

 

.*0{8}(.*)

 

Split a column based on a text ChrisTX.png

Chris

grazitti_sapna
17 - Castor

Hi @Arunima_S , try this.

grazitti_sapna_0-1597994471297.png

Thanks.

 

Sapna Gupta
Labels