Free Trial

Alteryx Designer Desktop Discussions

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

Replace data in string field

SCK
8 - Asteroid

Hi all, not sure if a similar question has been posted, but I really need help. I need to replace a certain data in a field with blank, but I am able to do so using regex_replace option if I put in 2 conditions. Please help.

4 REPLIES 4
JosephSerpis
17 - Castor
17 - Castor

Hi @SCK can you not filter out the data with blanks as based on your input rows that have cadbury or cheetah have no data for the colour column, then in your output they are removed? I mocked up a workflow that takes your input data and produces the output. Let me know if that is correct?

SCK
8 - Asteroid

Thanks  @JosephSerpis . I modified the input file to as to not have any blank columns. How should I proceed now?

JosephSerpis
17 - Castor
17 - Castor

Hi @SCK came up with a couple of ways let me know what you think?

grazitti_sapna
17 - Castor

Hi @SCK , you can try this with regex_replace or normal replace with a if else condition.

 

grazitti_sapna_0-1599130675928.png

 

Thanks.

Sapna Gupta
Labels
Top Solution Authors