I recently wanted to extract the text from a srt file and tried different approaches. It can be easily done using regular expressions and a text editor which can search using regex. A typical srt file:
1
00:00:00,180 --> 00:00:03,180
Spoken Line 1
2
00:00:03,180 --> 00:00:07,290