ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Regex a sentence containing a specific word

DKMI
メテオール

Hi!

 

I am looking to pull out whole sentences from free text containing a word/collection of words

 

Ie:

 

Example string "My name is derek and I am 42. I like to alteryx designer as it is cool. I have ginger hair."

 

I want to pull out sentences containing 'Alteryx designer', so the result would look like:

 

'I like to alteryx designer as it is cool'

 

Any thoughts?

5件の返信5
binu_acs
ポラリス

@DKMI One way of doing this

binuacs_0-1671710452945.png

 

davidskaife
マグネター

Hi @DKMI 

 

Here is a way of doing it without Regex:

 

DavidSkaife_0-1671710560484.png

 

Use the Text to Columns tool to split by . into rows, then filter out that field where the text contains Alteryx Designer

DKMI
メテオール

Clever! Have an excellent christmas!

davidskaife
マグネター

Thanks, Merry Christmas to you as well!

EN6924
ファイアボール

Using Text to columns -> Split to rows

 

EN6924_1-1672232299333.png

 

 

ラベル
トップのソリューション投稿者