Thanks a lot for your help! I’m not behind my computer nog, but I’m sure 
that your answers are going  to help me. 😊
Op dinsdag 30 mei 2023 om 16:09:40 UTC+2 schreef Fletcher Sandbeck:

> The Pattern Playground on the Search menu is a great way to build up a 
> pattern for search/replace. You can see interactively what it is going to 
> match as you create it. I think this pattern works.
>
> Search: ^[0-9:, -->]+\r
> Replace: 
>
> The caret sign anchors the search at the start of the line. The square 
> brackets match any character contained within so we simply enumerate all 
> the characters in the lines you want to get rid of and replace with an 
> empty string. Any lines that contain a character other than a number or the 
> other characters will be removed.
>
> You can then use Remove Blank Lines on the Text menu to clean up any 
> remaining blank lines.
>
> [fletcher]
>
>
> On May 30, 2023, at 5:23 AM, Otto Munters <ottom...@gmail.com> wrote:
>
> Hello, I am a new BBEdit user and want to remove all timings from a srt 
> file to use it as a text document. It looks like this now:
> 1
> 00:00:33,360 --> 00:00:45,060
> Welcome. Lovely to see you all. We
> should take our time to introduce
>
> 2
> 00:00:46,560 --> 00:00:52,380
> the rules. Just like you have ashram
> rules, we have rules for self inquiry.  
>
> 3
> 00:00:55,200 --> 00:01:01,080
> Vedanta is an ancient tradition,
> science of self inquiry
>
> All the first two lines of each paragraph (page number and timing) I want 
> to remove. I also want to remove the blank lines so that one large block of 
> text remains.
>
> Can anyone help me with the code I can use as a Grep?
> Thanks in advance!
>
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "sup...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+un...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/8b13b1cd-1b61-475b-90cf-7530b3aeb928n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/bbedit/8b13b1cd-1b61-475b-90cf-7530b3aeb928n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/84257c25-9fd0-4b1f-9984-51abec9ea365n%40googlegroups.com.

Reply via email to