2

I have tons of text that runs together paragraph breaks like so:

off the wounded, and with the same calmness and composure as before resumed the watch over his armor. 
But these freaks of his guest were not much to the liking of the landlord, so he determined to cut matters short and confer

...whereas it should be:

off the wounded, and with the same calmness and composure as before resumed the watch over his armor. 

But these freaks of his guest were not much to the liking of the landlord, so he determined to cut matters short and confer

I got a tip on this from this question, which pointed to this mini-article

Based on the info there, I tried replacing "$" with "$$", and although it found the invisible "$"s, it replaced them with visible (literal) double "$"s. I then tried replacing "$" (with the "Regular Expressions" checkbox ticked) with "#13#10" but that also simply inserted that literal string there.

How can I auto-replace all line breaks / paragraph marks with two of the same?

2

If I understand your example right, you just want to add a newline after every line, right?

In OpenOffice 3.2.0 Writer

  • Search for: $
  • Replace with: \n\n

enter image description here enter image description here

OpenOffice regular expression reference

  • Thanks; I'm about to leave, but I'll czech it out when I get home. – B. Clay Shannon Dec 22 '13 at 16:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.