Start Free Trial

Alteryx Designer Desktop Discussions

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

Removing junk from columns

noded
6 - Meteoroid

Hi, Im newbie in Alteryx. I don't have any idea how to clean rows, from databaes exported from wordpress (csv file).

Example.

idcontent
1vc_rowvc_columSome text, which I don't want to delete. vc_column_text
2vc_column_textvc_rovc_colum another one text. vc_rowvc_colum

I have 11k records to clean. I looking for solving this problem.

17 REPLIES 17
Garabujo7
Alteryx
Alteryx

Hello @noded ,

 

You could use a find&replace.

 

Garabujo7_0-1632414327777.png

Garabujo7_1-1632414357180.png

 

 

Garabujo7_2-1632414375727.png

 

Garabujo7_3-1632414393649.png

 

MatthewBr
Alteryx Alumni (Retired)

Best way is to use a formula tool (beginning) or you can use a regex (intermediate)

 

For example:

MatthewBr_0-1632414364746.png

 

MatthewBr_1-1632414386864.png

 

MatthewBr
Alteryx Alumni (Retired)

If this solves your challenge - Please mark this is complete/solved.

atcodedog05
22 - Nova
22 - Nova

Hi @noded 

 

Here is my take on it.

 

Workflow:

atcodedog05_0-1632415363717.png

 

Hope this helps : )

noded
6 - Meteoroid

Hi, also I want to ask, maybe you know how to delete all data like in this this, but everything what i want to delete is in square brackets? 

atcodedog05
22 - Nova
22 - Nova

Hi @noded 

 

Can you provide some sample input and expected output it will help us get a better understanding of the usecase.

mst3k
11 - Bolide

**deleted reply

i interpreted the question backwards! the other replies look correct

noded
6 - Meteoroid
idcontent
1[some text] this is okay [another text]
2[some variables] another okay text [another variable]

But in this case I have a lot of different texts/variables in square brackets, and I have something about 11k records, different texts in square brackets and angle brackets. And I'm looking for how I can clean all this brackets from content.

atcodedog05
22 - Nova
22 - Nova

Hi @noded 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1632478417997.png

 

Hope this helps : )

Labels
Top Solution Authors