【发布时间】:2015-08-23 19:12:41
【问题描述】:
我有一个很长的文本文件,格式如下:
1
00:00:00,000 --> 00:00:16,700
to use 2 languages.
2
00:00:16,700 --> 00:00:19,600
I was saying that we are going to use 2 languages
3
00:00:19,600 --> 00:00:24,700
...I myself will continue to speak because of time
现在我想删除除文本之外的所有内容,所以结果应该是:
to use 2 languages.
I was saying that we are going to use 2 languages
...I myself will continue to speak because of time
什么是正确的正则表达式命令?删除所有包含数字的行的命令也可以工作。我正在使用 Sublime Text 或 regex101.com
【问题讨论】:
-
是的,这也足以解决问题!
标签: regex replace sublimetext3