I need to parse some srt files and I am looking for a regex (for JAVA) that matches the times sections. What I want is to read the file line by line and if the lines are numbers or times sections skip them.
Example, given:
1
00:00:01,357 --> 00:00:03,323
You took this case
without running it by me.
2
00:00:03,359 --> 00:00:04,825
- Jessica--
- That's enough. Dump it.
I want to match the lines
00:00:03,359 --> 00:00:04,825
and
2
Thanks in advance!