I am trying to remove all chinese characters from csv, that contains both latin and chinese characters. Data looks like:
address lat
1 农工商超市, Zhangjiang, Pudong New District, 203718 31.204024
2 欧尚, 3057号, Jinke Road, Pudong, 201203, China 31.181804
I need it to look like:
address lat
1 , Zhangjiang, Pudong New District, 203718 31.204024
2 , 3057, Jinke Road, Pudong, 201203, China 31.181804
I tried with df.replace(/[^\x00-\x7F]/g, "")
and df.replace(/[\u{0080}-\u{FFFF}]/gu,"")
but I get error:
df1.replace([^\x00-\x7F],"");
^
SyntaxError: invalid syntax
need help! thanks