We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
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