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

Data cleaning

rajputakansha
8 - Asteroid

Hi all,

 

I have a column that has all numerical values. But there are some special characters too that I am trying to strip out.

 

Input:

",

",

23

34

45",

",

56",

",

78

 

I need it to be:

 

 

23

34

45

 

56

 

78

 

Can anyone help me in achieving this in RegEx. Or any other way possible?

 

Thanks

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @rajputakansha 

 

If you just want to strip out punctuation use the Data Cleansing tool under the Preparation Tab.

 

punctuation.PNG

 

Cheers,

rajputakansha
8 - Asteroid

@Thableaus ,

 

Thanks for your reply.

 

I figured out 2 more ways to do this.

 

1. REGEX_Replace([Field], "[\D]", "")

2. Replace([Field],'",',"")

 

Yours one is obviously the easiest one. 🙂

 

Thanks

Labels
Top Solution Authors