Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Need to extract specific text from a column

Hoss2434
7 - Meteor

I have a column that contains a specific set of text that I need to be retained and the rest removed or moved to another column. Unfortunately, I am not able to use normal text-to-column due to the variation of the test arrangement. 

 

Like the example below, I need the word Issue and the id associated with it to be separated. I am struggling to figure out a way to do this with the variation of the text arranged. 

 

BeforeAfter
Random Text, ISSUE 23452,ISSUE 23452
Random Text, Random Text, ISSUE 45645,ISSUE 45645
ISSUE 9785, Random Text, Random TextISSUE 9785

 

Any help would be greatly appreciated.

Thanks!

3 REPLIES 3
ncrlelia
11 - Bolide

Hi @Hoss2434,

 

You can use a Regex tool with the pattern 'ISSUE \d+' to parse out the word Issue and respective ID.

note: \d = digit and + = one or more

 

Please see below for details on the suggested solution.

ncrlelia_0-1629691325664.png

 

Hope this helps.

 

Cheers,

Lelia

 

 

Qiu
21 - Polaris
21 - Polaris

@Hoss2434 
I tired a different approach.

Capture2A.PNG

binay2448
11 - Bolide

This may also help .....

Labels
Top Solution Authors