In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Get characters to the right of a certain part of the string

kayla_o
7 - Meteor

Hi all, 

 

I have multiple cells with something like this:      "summar":"null":"score":"SV_0832dmn83bf","project","catalog":

 

I am trying to parse out just this into a separate column: SV_0832dmn83bf

How can I do this?

 

thanks!

3 REPLIES 3
Raj
16 - Nebula

REGEX_Replace([InputColumn], '.*:"([^"]+)",.*', '$1')

this will give the result

gawa
16 - Nebula
16 - Nebula

hi @kayla_o 

There are a couple of ways to do that. As proposed by @Raj, Regex would be first option to parse data in your case.

Another possible Regex can be like this; 1 or more upper case alphabet, followed by underbar _, and 1 or more alphabet/number.

.*?([A-Z]+_\w+).*?

 Also, if you want to parse other data together, and are sure of input data having the same schema, Text to Column would be an option, too.

image.png

aatalai
15 - Aurora

Another way (less elegant, but possibly simpler -i.e without regex) use a a text to column tool with " set as the delimiter  and then use the select tool to choose which column (or columns you want)

 

Hope this helps

Labels
Top Solution Authors