Alteryx Designer Desktop Discussions

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

Extract all text after specific words

jesuisbo
8 - Asteroid

Hi all,

 

Though I've read several posts re. this topic I still can't seem to figure out how I can extract text after specific words in a text string. 

 

Random string of words. Cover: Mike Carren 

Random string of words. Photo: Kate Moss

 

I want to extract the text after both the words "Cover:" and "Photo:" so I can extract the names in the dataset.

 

What would be the most convenient way of doing this? 

 

Many thanks!

2 REPLIES 2
LordNeilLord
15 - Aurora

Hey @jesuisbo

 

The easiest way would be the regex tool in Parse mode, using this regex: .*?:\s(.*)

 

Regex.PNG

jesuisbo
8 - Asteroid

Problem solved, thank you @LordNeilLord!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels