In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Parsing text with specific pattern

saivig68
7 - Meteor

Hi All , 

 

I have text in the following format : 

=%3Afeature%3Astone1CaratRange%3A1%2F2+to+1%3AringStyle%3AHalo%2FFramed%3AringStyle%3ASolitaire%3AstoneColors%3ABlue%3AstoneColors%3APink%3AstoneColors%3AWhite

 

The data I need is logged between '%3A' ,  I tried the text to columns and it works but it is also parsing spaces and filling columns .

 

Capture.JPG

 

Is there a way to use any other tool so that I don't pick up these spaces

2 REPLIES 2
CharlieS
17 - Castor
17 - Castor

@saivig68

 

When you enter the "%3A" in the delimiter field in the Text to Columns tool, it treats each one of those three characters as a delimiter ("%","3", and "A"). I used the following formula to assign a single character delimiter. After that, the Text To Columns tool worked just fine. 

 

Replace([URL],"%3A","|")

ponraj
13 - Pulsar

Here is the solution for your problem. Use regex [^%3A]+ with output method Tokenize to get the desired results. 

 Results.PNG

Results.PNG

Labels
Top Solution Authors