Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Select only string

BRRLL99
11 - Bolide

Hi Team,

 

I have the following data-set, I would like to extract only string from the data, 

both the columns should be filtered at same time using Formula or regex tool

 

Input:

 

Team1Team2
India (1, 1-0)Sri Lanka (3,1-0)
Bangladesh (2,1-0)Bhutan (4,4-0)
Nepal (1,2-0) 

 

 

Output 
Team1Team2
IndiaSri Lanka
BangladeshBhutan
Nepal 
2 REPLIES 2
ShankerV
17 - Castor

Hi @BRRLL99 

 

Please find the expected output.

 

ShankerV_0-1673846839275.png

 

Input was:

 

ShankerV_1-1673846876731.png

 

Note: The workflow used to achieve the solution is attached which can be downloaded to see how the solution works.

 

If you believe your problem has been resolved. Please mark helpful answers as a solution so that future users with the same problem can find them more easily!!!!

 

Many thanks

Shanker V

binuacs
21 - Polaris

@BRRLL99 Another way of doing this with the help of substring and regex functions

 

binuacs_0-1673862390842.png

 

Labels
Top Solution Authors