Alteryx Designer Desktop Discussions

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

Find and replace exact word

Monica_
6 - Meteoroid

Hello I am currently working on a project. It has multiple and concatenated statuses. 

 

I just want to remove all the "hydrated" ones.

 

Sample status:

1) hydrated, mildly dehydrated, severely dehydrated

2) hydrated

3) mildly dehydrated, hydrated

 

Output needed:

1) mildly dehydrated, severely dehydrated

2) 

3) mildly dehydrated

 

I used replacechar however it is not looking for the exact word. Also used regex_replace but same wrong results.

 

Any ideas? Thanks!

6 REPLIES 6
ShankerV
17 - Castor

Hi @Monica_ 

 

You can use Find and Replace tool or Formula tool to get your solution.

 

Many thanks

Shanker V

 

 

Monica_
6 - Meteoroid

Hello, still not working on my end 

ShankerV
17 - Castor

Hi @Monica_ 

 

Please check the solution, hope it helps

 

ShankerV_0-1671175221060.png

Note: The workflow used to achieve the solution is attached which can be downloaded to see how the solution works.

 

If you believe your problem has been resolved. Please mark helpful answers as a solution so that future users with the same problem can find them more easily!!!!

 

Many thanks

Shanker V

Monica_
6 - Meteoroid

Worked well. Thanks!

ShankerV
17 - Castor

Hi @Monica_ 

 

With the help of Data Cleansing tools, have also trimmed the unwanted spaces and the output expected is as below.

 

ShankerV_0-1671176036751.png

 

Note: The workflow used to achieve the solution is attached which can be downloaded to see how the solution works.

 

If you believe your problem has been resolved. Please mark helpful answers as a solution so that future users with the same problem can find them more easily!!!!

 

Many thanks

Shanker V

 

Monica_
6 - Meteoroid

Thanks, @ShankerV  😁

Labels