简体   繁体   English

删除 Microsoft Word 中每一行的前 N 个字符

[英]Remove first N characters of every line in Microsoft Word

I have data in conversation format downloaded from WhatsApp.我有从 WhatsApp 下载的对话格式的数据。 I have opened the data in MS Word and I want to remove the timestamps which appear on each line before each conversation我已经在 MS Word 中打开了数据,我想删除每次对话之前出现在每行上的时间戳

[16/02/20, 2:52:20 PM] Ron: Hello there 
[17/02/20, 2:53:21 PM] Harry:Hi Ron.

I want to remove the timestamp from each line.我想从每一行中删除时间戳。 I am using a Macbook.我正在使用 Macbook。 Is there a way to take this to another notepad app and do the same, if not on MS word?有没有办法把它带到另一个记事本应用程序并做同样的事情,如果不是在 MS Word 上?

You can do with with a wildcard Find/Replace, where:您可以使用通配符查找/替换,其中:

Find = \[[!\[]@\]^32
Replace = nothing

No VBA code required.不需要 VBA 代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM