Some time ago, very valuable help was given on this forum, to clean out subtitle text via Perl regular expression (thank you).
If I may, can I ask for a help for the following.
The regular expression is:
The file looks like this:
What change needs to be made to remove the font parts to end up with:
If I may, can I ask for a help for the following.
The regular expression is:
Code: Select all
^(?:(?:[\t ]*|\d+|[0-2][0-9]:[0-5][0-9]:[0-5][0-9].*)(?:\r?\n|\r))+
Code: Select all
1
00:00:01,355 --> 00:00:05,025
<font color="#000000">This is the first spoken sentence.
</font>
2
00:00:05,025 --> 00:00:08,362
<font color="#000000">Something, compared to “something,”
</font>
When I apply Replace All, Perl and Replace With is blank, this is the result
<font color="#000000">“This is the first spoken sentence.
</font>
<font color="#000000">Something, compared to “something,”
</font>
Code: Select all
This is the first spoken sentence.
Something, compared to “something,”