Date: prev next · Thread: first prev next last
2021 Archives by date, by thread · List index

Den sön 16 maj 2021 kl 05:48 skrev Dave Stevens <>:

Here's a snippet of a youtube auto-generated CC transcript.
Can someone show how to delete the lines that have times? as far as i
know they are strictly alternating and have exactly 1 colon, but that's
where my smarts end. Anyone have a suggestion?


in Writer?
If so:
Check Regular expressions.
In the search field: [0-9:]+ \n
Leave the replace field empty.
Click Replace all and BAM, those lines are gone almost before you clicked….
If that's too scary, first click Search all to see if the right stuff was

I tested this with the data in your post and every line is ended with a
space and a new line (not a paragraph break). If the space isn't there in
the real data, just remove it from the search field:
If the real data have paragraph breaks instead of newline characters, this
won't work.
Also note that this would also delete lines that ends with a number or
colon followed by a space. Tell me if that's a problem and we'll try to
work something out.

Kind regards

Johnny Rosenberg

that's always been the case yeah and
that's essentially it and a recently a
study team
... more

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.