View Single Post
Old 03-12-2011, 04:04 AM   #3
comtrjl
Connoisseur
comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.comtrjl ought to be getting tired of karma fortunes by now.
 
Posts: 75
Karma: 204999
Join Date: Aug 2006
Location: London
Hi excalibra.

If your text has got 2 consecutive paragraph marks to indicate a new paragraph but here and there a single one where it shouldn't be, then you could do this with search and replace.
First, search for ^p^p and replace them with ###
Second, search for ^p and replace with a single space character
Third, search for ### and replace with ^p^p
All this is doing is preserving the paragraph breaks and then replacing the unwanted single returns with a space, then putting the paragraph breaks back.
Please post back if I've misunderstood.

bob
comtrjl is offline   Reply With Quote