Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Replace

rtorres7157
5 - Atom

I have a text column with some classification variables that I am wanting to remove the 1's and leave the test of the text

 

Urban1

Exurban1suburban1

Rural1

 

Any help is appreciated

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @rtorres7157 ,

 

You can use the replace function to remove all 1's.

Replace([Field1], '1', '')

 

Example attached.

Best,

Fernando Vizcaino

grazitti_sapna
17 - Castor

Hi @rtorres7157 , if you just want to remove any number you can do the same with the help of regex tool, formula tool as well as data cleansing tool. Please refer to the screenshot. There are n  number of methods but I have specified 3 of them.

 

grazitti_sapna_0-1599801460690.png

Thanks.

 

Sapna Gupta
Labels
Top Solution Authors