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

Parse Numbers with no space or delimiters

dngnc7
7 - Meteor

Hello, I need help on what approach to take in parsing numbers that have no space or delimiters into rows. Here is an example of what I need:

Original -> 1234567812345678

 

What I need-> 12345678

                        12345678

 

any suggestions are greatly appreciated.

7 REPLIES 7
alexnajm
18 - Pollux
18 - Pollux

What is the logic? Is it just every 8 digits?

dngnc7
7 - Meteor

every 16 digits

alexnajm
18 - Pollux
18 - Pollux

I am sorry but that doesn't make sense in relation to the example given above - in that case you have split a 16 digit number into two 8 digit rows. Can you clarify with concrete examples if the logic is different than previously stated?

dngnc7
7 - Meteor

I only need it to split where there are 16 digits.

alexnajm
18 - Pollux
18 - Pollux

Otherwise if it is how you explained it, you can use the Tokenize method in the RegEx tool and Split to Rows. The expression would be \d{16} - change the number based on the split you need (my guess is that in reality it is \d{8})

alexnajm
18 - Pollux
18 - Pollux

Then filter you data to where Length([field])=16 - but again I think there are some conflicting statements so clarity would be preferred

dngnc7
7 - Meteor

This worked. You are awesome! thank you so much.

Labels
Top Solution Authors