1、Open the Word document;
2、Select the table in Word from which you want to delete content;
3、Hold down the “Fn key” and press the “Delete key” to remove the content without damaging the table.

虽然word文档里可以使用替换通配符方法将中文字符替换,但是有时候会将空格去掉,并不保险。所以本文采用的逻辑是—如果一行包含中文字符则将此行删掉,最终得出的版本与原版在word上利用审阅按钮下的compare功能进行比较,算法实现的python代码可以用gpt得到,特别适合中英文双语翻译的文档删除中文或英文获取单语版本的使用场景。

Read more »