Add line break before any number
Mike Atnip last edited by
I have a Bible text formatted in paragraphs that I want to convert into plain text (to import it into other software), and I need each verse to start a new line. I know how to find numbers; what I do not know how to do is insert a paragraph break before each verse number.
So I have this to start:
1 This text. 2 Second text. 3 Then this text. 4 Then the next text.
I want to end up with this:
1 This text.
2 Second text.
3 Then this text.
4 Then the next text.
Since I will be working with over 31,000 verses that need reformatted, I would like to find a regex that would speed up the process. Thanks!
PeterJones last edited by
In regular expression mode, putting
\r\nin the replacement will add in a CRLF newline sequence (the normal Windows line ending)