Dear Stata users,
I have a data composed of strings. There're Chinese characters, English letters, and numeric characters. I want to remove all English letters so that only Chinese characters and numeric characters are kept (well, the spaces between these characters should also be kept). In the below, Code 1 is an example of my data, and Code 2 is what I want to achieve. Can anyone tell my how to get this. Thank you very much.
I have a data composed of strings. There're Chinese characters, English letters, and numeric characters. I want to remove all English letters so that only Chinese characters and numeric characters are kept (well, the spaces between these characters should also be kept). In the below, Code 1 is an example of my data, and Code 2 is what I want to achieve. Can anyone tell my how to get this. Thank you very much.
Code:
煤炭开采和洗选业 Mining and Washing of Coal 3 1 6.06 0.21 石油和天然气开采业 Extraction of Petroleum and Natural Gas 3 15.96 0.04 黑色金属矿采选业 Mining and Processing of Ferrous Metal Ores 13 1 119.43 0.81 有色金属矿采选业 Mining and Processing of Non-Ferrous Metal Ores 非金属矿采选业 Mining and Processing of Non-metal Ores 7 3 11.24 0.04
Code:
煤炭开采和洗选业 3 1 6.06 0.21 石油和天然气开采业 3 15.96 0.04 黑色金属矿采选业 13 1 119.43 0.81 有色金属矿采选业 非金属矿采选业 7 3 11.24 0.04
Comment