In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.

How to split English and Chinese characters to different cells

zhanghongtao
5 - Atom

I encounter the data including Chinese and English names in one column, which I want to split to different column, but the length in each line for the Chinese and English is not the same. 

2 REPLIES 2
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

You can use RegEx Tool with the configuration below;

 

Regular Expression: ([a-zA-Z0-9_\s,]+)\s([^a-zA-Z0-9_\s,].*)

Output Method: Parse

 

Then you will get the output as below:

NameName1Name2
Wei, Quan Quan 韦, 泉全Wei, Quan Quan韦, 泉全
Wei, Ting 韦, 婷Wei, Ting韦, 婷
Xue, Hui Jing 薛, 惠菁Xue, Hui Jing薛, 惠菁
Zhang, An Qi 张, 安芪Zhang, An Qi张, 安芪
Zhang, Min 张, 敏Zhang, Min张, 敏
...  
zhanghongtao
5 - Atom

Thank you so much for your help!

Labels
Top Solution Authors