Nice simple solution, Kevin!! On Mon, 5 Jun 2023 at 14:54, Kevin Shay <y2ks...@gmail.com> wrote:
> Maybe I'm not understanding what you're trying to do, but it seems like > you could just use the Hard Wrap feature (Text > Hard Wrap...)? Set it to > 50 characters and turn "Paragraph fill" off. > > Using a regex will break lines within words, which probably isn't what you > want. > > On Mon, Jun 5, 2023 at 9:32 AM Otto Munters <ottomunt...@gmail.com> wrote: > >> In Find and Replace I can do this search: >> >> ^\n?.{50} >> >> But I can't figure out how to replace the same words followed by a line >> break. >> Can anybody help me? >> >> Op zaterdag 3 juni 2023 om 16:46:44 UTC+2 schreef Otto Munters: >> >>> An automatically translated subtitle in YouTube turns two lines in the >>> original language into one long sentence. How can I turn this back into two >>> sentences, the top sentence slightly shorter than the sentence below it. Is >>> there a grep for that? Or how do you do that with text factory? >>> >>> Example output srt file YouTube: >>> 1 >>> 00:00:33,360 --> 00:00:45,060 >>> Welkom. Leuk om jullie allemaal te zien. We moeten de tijd nemen om >>> >>> 2 >>> 00:00:46,560 --> 00:00:52,380 >>> de regels in te voeren. Net zoals jij ashram-regels hebt, hebben wij >>> regels voor zelfonderzoek. >>> >>> It should look like this: >>> 1 >>> 00:00:33,360 --> 00:00:45,060 >>> Welkom. Leuk om jullie allemaal >>> te zien. We moeten de tijd nemen om >>> >>> 2 >>> 00:00:46,560 --> 00:00:52,380 >>> de regels in te voeren. Net zoals jij ashram- >>> regels hebt, hebben wij regels voor zelfonderzoek. >>> >>> Thanks a lot for your help! >>> >>> -- >> 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/adbe2498-9b89-4afd-b284-b30ee7debb71n%40googlegroups.com >> <https://groups.google.com/d/msgid/bbedit/adbe2498-9b89-4afd-b284-b30ee7debb71n%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/CAKi-cfs8RFSdBqmacMvOpzakvsOs5D_TJ_rniHcc1mwuLnMryg%40mail.gmail.com > <https://groups.google.com/d/msgid/bbedit/CAKi-cfs8RFSdBqmacMvOpzakvsOs5D_TJ_rniHcc1mwuLnMryg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Kaveh Bazargan PhD Director River Valley Technologies <http://rivervalley.io> ● Twitter <https://twitter.com/rivervalley1000> ● LinkedIn <https://www.linkedin.com/in/bazargankaveh/> ● ORCID <https://orcid.org/0000-0002-1414-9098> ● @kaveh1000@mastodon.social <https://mastodon.social/@kaveh1000> *Accelerating the Communication of Research* * <https://www.linkedin.com/posts/bazargankaveh_ismte-innovation-award-recipient-kaveh-bazargan-activity-7039348552526921728-XAEB/?utm_source=share&utm_medium=member_desktop> [image: https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/] <https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/>* -- 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/CAJ2R9pi%2BQ0-Ji_Xh%3DhzUQ%2BQHzkZC7P%3DSL6CKWfb7QP1_AUv6nA%40mail.gmail.com.