Saturday, April 12, 2014

How to change an SRT file

Hi,

I have an srt file where every new subtitle starts with a capital letter.
See here an example.

+-----+
12
00:01:35,095 --> 00:01:38,598
The people you see
actually lived.

13
00:01:38,598 --> 00:01:41,601
All the words
they speak

14
00:01:41,601 --> 00:01:44,604
Were spoken
or written by them.

15
00:01:46,606 --> 00:01:50,110
+-----+

I would like to change this.
I would like that only the new subtitle that follow after an dot (.) of the previous subtitle starts with a captial letter.

So in the example shown, in subtitle 14, the word 'Were' should be changed in 'were'.

How to do that?

Rgds,
Jeri

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: