We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Remove strings after "-" and "|"

jatienza
8 - Asteroid

Hi,

 

Need help in removing strings after "-" and "|" and removed also the "-" and "|", please see below.

 

Raw data:

Company A - Class

Company B | Class

Company-C - Class

Company | D | Class

 

Output:

Company A

Company B

Company-C

Company | D

 

Thanks,

Jaime

3 REPLIES 3
binuacs
21 - Polaris

@jatienza One way of doing this

binuacs_0-1675717576550.png

 

ShankerV
17 - Castor

Hi @jatienza 

 

Please find the expected result.

 

ShankerV_0-1675717607906.png

 

 

jatienza
8 - Asteroid

Thanks! @binuacs @ShankerV 

Labels
Top Solution Authors