Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

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!

Labels
Top Solution Authors