Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

How to separate IDs from the text

shahnawaz_khan
8 - Asteroid

Hi,

 

Please help in separating the IDs in separate column from the text. attaching the sample working file on which I worked manully for better understanding where i have separated the IDs in "B" column from the "A", also highlighted in bold which we have to separate.

 

Text which comes after (channelMsgId":"wamid) in "A "column that needs to be separated which ends with ==

 

 

 

 

 

 

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@shahnawaz_khan 
I think we can use RegEx as below.

1231-shahnawaz_khan.png

Sebastian_Chaieb2
10 - Fireball
10 - Fireball

I like the idea with Regex as I like it a lot, however for those who are not familiar with Regex I am attaching my workflow with two solutions:

 

1. Looks like in Column A we have JSON format so first idea is to use "JSON Parse" tool

 

2. Second option is to use Formula and Replace function to convert "wamid." and "==" to Pipe "|" and the use Split to column tool and as a delimiter use that | (pipe)

 

image1.png

AlexanderVM
Alteryx
Alteryx
 

The solutions posted here are already amazing and mine is a little repetitive but sharing anyway.

2024-12-31 08_53_21-Alteryx Designer x64 - _How to separate IDs from the text.yxmd.png

Labels
Top Solution Authors