On 2021 Nov 2, at 23:04, Gavin Brooks <[email protected]> wrote: > > I have a lot of text that has been copied from a PDF, that I need to make > into text files for research purposes. When the text copied over, there was a > hard line return at the end of every sentences, and a blank space between > paragraphs. I need to the lines within the paragraph joined but the > paragraphs to remain separate and am looking for a regex to do that:
I am surprised to see so much discussion of Find & Replace options, but no one has mentioned that there is a built-in command that does exactly what you ask: Text > Remove Line Breaks It works perfectly on your example text. -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/ED390550-280A-41EA-8B50-E62240E2C9B5%40me.com.
