Alteryx Designer Desktop Discussions

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

How to remove Chinese language characters from the cell

Hi,

 

I just want to remove these Chinese language characters, what's the best way to go about it. Thanks!

7 REPLIES 7
Qiu
21 - Polaris
21 - Polaris

@tushar_Kumar_bain 
I think we can only keep the alphabets and some other characters you want by RegEx

0111-tushar_Kumar_bain.PNG

atcodedog05
22 - Nova
22 - Nova

Hi @tushar_Kumar_bain 

 

Here is my take on this.

Workflow:

atcodedog05_0-1641882627705.png

 

And interesting I didn't \u and \w capture Chinese characters too 🤔

 

Hope this helps : )

 

binuacs
21 - Polaris

@tushar_Kumar_bain Another RegEx option 

 

REGEX_Replace([姓名Name], '[^\x20-\x7e]+', "")

binuacs_0-1641882796057.png

 

binuacs
21 - Polaris

@Qiu Thank you for providing some sample data 🙂

Qiu
21 - Polaris
21 - Polaris

@binuacs 
Welcome.
I happened to have OCR tool

Thanks a lot!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @tushar_Kumar_bain 

If our response helps please don't forget to mark it as solution.

Cheers and have a nice day!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels