0
我想在继续的字幕行前加一个短划线。像这样:在Notepad ++中在特定字幕行的前面和末尾添加字符?
例子(.SRT):
1
00:00:48,966 --> 00:00:53,720
Today he was so angry and happy
at the same time,
2
00:00:53,929 --> 00:00:57,683
he went to the store and bought a
couple of books. Then the walked home
3
00:00:57,849 --> 00:01:01,102
with joy and jumped in the pool.
4
00:00:57,849 --> 00:01:01,102
One day he was in a bad mood and he
didn't get happier when he read.
这样:
1
00:00:48,966 --> 00:00:53,720
Today he was so angry and happy
at the same time-
2
00:00:53,929 --> 00:00:57,683
-he went to the store and bought a
couple of books. Then the walked home-
3
00:00:57,849 --> 00:01:01,102
-with joy and jumped in the pool.
4
00:00:57,849 --> 00:01:01,102
One day he was in a bad mood and he
didn't get happier when he read.
原始字幕是在瑞典。这是斯堪的纳维亚语字幕的标准。
如何用Notepad ++中的正则表达式格式化它?我应该如何编写标签,以及如果字幕在前端和末尾包含斜体标签?