In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Regex containing word

krishnagandhi
8 - Asteroid

Hi,

 

I am trying to use the regex match function to basically return me a true whenever the word "training" appears in a field. It could be at the beginning, middle or end of the field and i can not for the life of me figure it out. I tried a contains function as well but that didn't seem to work either. I have attached the workflow. any help would be appreciated.

 

Thanks,

 

Krishna 

1 REPLY 1
fmvizcaino
17 - Castor
17 - Castor

Hi @krishnagandhi ,

 

You can use the following function Contains([CATS Short Text], 'TRAINING')

It will return -1 if true and 0 if false.

 

Best,

Fernando Vizcaino

Labels
Top Solution Authors