ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Remove all data in field after character '='

bh1789
Asteroide

if I have several lines of data in one column:

 

V6ZncXfFmyTEUG= <br> <br> 

qQtR+Dpdp43zXznoU15Gtw2jQhw= <br><br>

aQ5zEgMOkmtbAaoqQI8DpjsjtHU=<br>

 

how would I remove everything after the =

 

5 RESPUESTAS 5
apathetichell
Arturo

regex_replace([field1],"^(.*\=)(.*)","$1")

binu_acs
Polaris

@bh1789 One way of doing this

binuacs_1-1666621742647.png

 

 

DataNath
17 - Castor
17 - Castor

Here's one way of approaching this with a couple of regular string functions:

 

DataNath_0-1666621722927.png

bh1789
Asteroide

how would I use this solution in a multi line dataset so that line after line would clean after the "=" character?

 

bh1789
Asteroide

thank you very much, that worked

Etiquetas
Autores con mayor cantidad de soluciones