Start Free Trial

Alteryx Designer Desktop Discussions

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

Removing / from the end

mmustkee
10 - Fireball

Hi Team,

 

I need to remove '/' from the end of the word. Please refer below and remove '/' which are coming  in the end in the column Absent. and from column Present, please delete all 'st' if they come in the beginning for each slash.

I have updated result as well for both the column.

AbsentPresentResult AbsentResult Present
a/w/r///////stsdf/stgrf/rsw/streda/w/rsdf/grf/rsw/red
d/2//////stsdf/stgrf/rsw/stredd/2sdf/grf/rsw/red
3/d/g/////dsrst/sters/rests/stdre3/d/gdsrst/sters/rests/dre
s/d// s/d 
r/d/d/ r/d/d 
rd/s/////////////rd/s 
sd/d sd/d 
7 REPLIES 7
binu_acs
21 - Polaris

@mmustkee 

 

Spoiler
binuacs_0-1640593275555.png

 

Qiu
21 - Polaris
21 - Polaris

@mmustkee 
@binu_acs has provided a perfect solution, and I just tried another Regex approach.
Hope it will also helo.

1227-mmustkee.PNG

mmustkee
10 - Fireball

@binu_acs 

 

Thanks for your solution removing slash worked fine but I can see that 'st' is still there in the beginning. Please refer highlighted.

 

mmustkee_0-1640596395605.png

 

mmustkee
10 - Fireball

@Qiu 

 

Thanks for the solution, I can still see 'st' after second slash and third slash. Please refer highlighted

 

mmustkee_0-1640596629537.png

 

Qiu
21 - Polaris
21 - Polaris

@mmustkee 
Sorry that I was not being careful enough. 😅

1227-mmustkee-A.PNG

mmustkee
10 - Fireball

@Qiu 

Perfect!  you are always great

 

Thanks 

Qiu
21 - Polaris
21 - Polaris

@mmustkee 
Glad to help and thank you for accepting my answer.😁

Labels
Top Solution Authors