Sometimes I need to add (a lot of) line breaks in some chunk of text.
After some searching online I found this method that uses MS Office Word and the replace functionality.

How it works:

  • Paste your chunk of text in a (new) MS Word Document
  • Press CTRL + H for the replace form.
  • Enter the character(s) that you want to replace with a line break.
  • As the ‘replace with’ text you type |^ (and maybe some more characters that you need to keep)
  • Hit ‘replace all’ and you will have your text with line breaks.

Simple as that.

I know there are probably other ways to achieve this, but for me this works fine.

2 Comments

  1. This tip was useful to me but rather than using |^ for the line break, I ended up using ^|. But, of course, things might have changes in the 4.5 years since this article was written.

    I’m using: Microsoft Word for Microsoft 365 MSO (Version 2201 Build 16.0.14827.20216) 64-bit

    1. Author

      Yeah, things could have changed!

Leave a Reply to Bruno Cancel reply

Your email address will not be published.