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
20 - Arcturus
20 - Arcturus

@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
20 - Arcturus

@tushar_Kumar_bain Another RegEx option 

 

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

binuacs_0-1641882796057.png

 

binuacs
20 - Arcturus

@Qiu Thank you for providing some sample data 🙂

Qiu
20 - Arcturus
20 - Arcturus

@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!

Labels