Hi All
I use this code to search and replace a recurrent block of text in my documents :
Please Login or Register to view this content.
It works well , but unfortunately it leaves some unevenly-spaced phrases with varying returns between them. Having found and removed the chunk of text in the search parameter , it's leaving a hole in the text.
For example:
Phrase 1
Phrase 2
Phrase 3
Phrase 4
Phrase 5
There should be only one blank line between each phrase , but in some cases these are now more than this. Sometimes there are two returns , sometimes three. Can someone suggest some code , or an amendment to the code above , to remove the extra returns so that there is only one blank line between phrases?
This would make the above example become even :
Phrase 1
Phrase 2
Phrase 3
Phrase 4
Phrase 5
Grateful for any advice.
Bookmarks