删除用逗号分隔的特定文本

删除用逗号分隔的特定文本

我有包含以下文本的 srt 文件

1
00:00:06,139 --> 00:00:07,140
F/6.3, SS 800, ISO 200, EV 0, GPS (76.2463, 25.7251, 16), D 93.74m, H 35.00m, H.S 2.09m/s, V.S 0.10m/s

2
00:00:07,140 --> 00:00:08,141
F/6.3, SS 800, ISO 200, EV 0, GPS (76.2463, 25.7251, 16), D 91.28m, H 34.80m, H.S 2.82m/s, V.S 0.50m/s

3
00:00:08,141 --> 00:00:09,142
F/6.3, SS 800, ISO 200, EV 0, GPS (76.2463, 25.7251, 16), D 88.47m, H 34.60m, H.S 2.94m/s, V.S 0.00m/s

4
00:00:09,142 --> 00:00:10,143
F/6.3, SS 800, ISO 200, EV 0, GPS (76.2463, 25.7250, 16), D 85.39m, H 34.70m, H.S 3.54m/s, V.S 0.00m/s

我只想保留以下格式并使用 notepad++ 从 srt 文件中删除所有内容

4
00:00:09,142 --> 00:00:10,143
GPS (76.2463, 25.7250, 16)

提前致谢

答案1

  • Ctrl+H
  • 找什么:F/6.+(GPS \(.+\)).+
  • 用。。。来代替:$1
  • 搜索方式:正则表达式

结果

相关内容