Break Text ever x Characters (keeping sentence / paragraphs)
-
Hi there
I am not sure if what I am after is possible
I have a very long block of text - split into paragraphs.
What I want to do is put a break into the text ie:
================
every 4000 characters
However, I want to keep the sentence or even better the paragraph structure if possible - so it auto places the break before it if the text is broken
(ie so it does not cut off halfway through a paragraph )
Thank and hope someone can point me in the right direction
sample text showing the breaks
-
@Andrew-Casey Make a safety copy of your document, then try:
From the menu bar, select Search | Replace.
In the dialog, fill in:
Find what:
(?s)^.{1,4000}(\R\R)\K
Replace with:=============================$1
Selection Mode: Regular expressionthen click Replace All.
-
@Coises Wow that is amazing - will save so much time thanks