6 Aug 2012 12:18
Re: Re: paragraph marks
Brian Barker <b.m.barker <at> btinternet.com>
2012-08-06 10:18:23 GMT
2012-08-06 10:18:23 GMT
At 10:43 06/08/2012 +0100, Tom Davies wrote: >Am 06.08.2012 08:43, Carla Marion wrote: >>I want to replace two paragraph endings punctuation marks by one, >>because I want to replace white lines. How do I do that? > >I think Andreas might have meant replace >^$^$ >with >^$ >to reduce all the doubles with a single rather than to remove all >paragraph marks. No: as usual, you have it wrong; he meant what he wrote. The user wants to remove what she calls "white lines" - actually empty paragraphs. The circumflex character anchors the pattern to the beginning of a paragraph and the dollar sign to the end of a paragraph. So ^$ matches an empty paragraph. Brian Barker
RSS Feed