Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Regex to Remove Common Words

JeremyN
8 - Asteroid

I would like to use the Regex tool to remove common words.  If multiple words match within a cell, I would like to remove all of them.  Also, I'm trying to match complete words (e.g. THE should not be removed from OTHER).  The following example isn't doing what I would hope.  Any suggestions?  

 

(?:<\'WITH'\>)|(?:<\'OR'\>)|(?:<\'IS'\>)|(?:<\'ON'\>)|(?:<\'HAS'\>)|(?:<\'WILL'\>)|(?:<\'THE'\>)

1 REPLY 1
fmvizcaino
17 - Castor
17 - Castor

Hi @JeremyN ,

 

For that, you can use the find replace tool and it will work like regex.

 

Example attached.

Best,

Fernando Vizcaino

Labels
Top Solution Authors