Hi.
I know that it isn't a language at all, but I'd like to have different colors for SRT subtitle files.
It seems to be a very easy task, but I don't know how it could be done.
Subtitle files has this syntax (from "An Affair to Remember (1957)" movie):
Like this:
I appreciate any help.
I know that it isn't a language at all, but I'd like to have different colors for SRT subtitle files.
It seems to be a very easy task, but I don't know how it could be done.
Subtitle files has this syntax (from "An Affair to Remember (1957)" movie):
The challenge is to put lines with subtitle number to one color, with time codes to other and text lines to another color.1
00:02:10,005 --> 00:02:13,676
While the New York Stock Exchange
showed signs of restlessness,
2
00:02:13,760 --> 00:02:16,971
there was little or no uneasiness
on the part of optimists.
3
00:02:17,054 --> 00:02:19,141
Here's good news for you bachelors.
4
00:02:19,183 --> 00:02:22,437
Competition for pretty girls
will definitely be easier
5
00:02:22,520 --> 00:02:26,859
now that Nickie Ferrante, the big
dame hunter, is going out of circulation.
Like this:
I tried to adapt other language, like Ruby, to achieve the goal, but failed.1
00:02:10,005 --> 00:02:13,676
While the New York Stock Exchange
showed signs of restlessness,
2
00:02:13,760 --> 00:02:16,971
there was little or no uneasiness
on the part of optimists.
3
00:02:17,054 --> 00:02:19,141
Here's good news for you bachelors.
4
00:02:19,183 --> 00:02:22,437
Competition for pretty girls
will definitely be easier
5
00:02:22,520 --> 00:02:26,859
now that Nickie Ferrante, the big
dame hunter, is going out of circulation.
I appreciate any help.