Ask Your Question
0

How do I delete carriage returns in the middle of sentences? [closed]

asked 2017-08-10 11:05:23 +0100

erad67 gravatar image

updated 2020-08-07 17:09:54 +0100

Alex Kemp gravatar image

I have a long Writer document that has many carriage returns in the middle of sentences. How can I delete them? I know with many other searches you use the search and find function with regular expressions selected. What I don't know is what expression to search. I assume it must be something that looks for CRs that don't come after end of sentence punctuation marks.

What expression do I need to search?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-08-07 17:10:27.034744

1 Answer

Sort by » oldest newest most voted
0

answered 2017-08-10 11:21:50 +0100

gabix gravatar image

updated 2017-08-10 11:25:09 +0100

Try OOoFBTools. This extension has a load of features to correct OCR errors and brush up formatting. For your purpose, select Join broken lines of a paragraph… from the menu, the default settings should be enough.

If you want to simply search and replace, try AltSearch, a more convenient search and replace dialog. There, in Search for select manual line break \n in the Regular drop-down list.

edit flag offensive delete link more

Comments

I'll try OOoFBTools next. I've already tried AltSearch, but searching for \n doesn't do what I'm trying to do. \n finds the mark made when you hit Shift and Enter at the same time. Don't have any of those.

erad67 gravatar imageerad67 ( 2017-08-11 16:05:16 +0100 )edit

OOoFBTools looks like it does a lot of cool stuff. Too bad it's instructions are in Russian and I'm not fond of it adding 32 icons to my toolbars that won't allow me to close them. Would also be nice if that Join broken lines feature had separate Replace and Replace All options. I'd like to know if it's correctly finding the issues.

erad67 gravatar imageerad67 ( 2017-08-11 16:35:46 +0100 )edit

You can use Manual processing of paragraphs if you want to control the process.

gabix gravatar imagegabix ( 2017-08-11 16:49:58 +0100 )edit

Question Tools

1 follower

Stats

Asked: 2017-08-10 11:05:23 +0100

Seen: 372 times

Last updated: Aug 10 '17