Hi :) The Return looks different in different apps, for example in GEdit it shows as a
/n I tend to select an area that includes a carriage-return and then try find&replace to see what character is put in the Find box. Sometimes i have to copy&paste the selected area into the Find box. ________________________________ From: Brian Barker <[email protected]> To: [email protected] Sent: Thu, 1 September, 2011 3:13:51 Subject: Re: [libreoffice-users] Search and replace At 19:42 31/08/2011 -0400, Cecilie Aux wrote: > I'm looking for a way to search and replace "carriage returns." For example, >if there are 3 hard returns in a row between every paragraph and I want to >change it to 2, or vice versa. In one sense, you cannot: every return *defines* the end of a paragraph, so if you have three consecutive returns you have two additional, empty paragraphs, in fact. And empty paragraphs are generally a bad idea: instead, set paragraph spacing to establish what you need. > Any recommendations? Use Find & Replace to search for ^$ (an empty paragraph) and replace it by something that won't already occur in your document - perhaps ##. (You need "Regular expressions" to be ticked.) This appears to catch only alternate consecutive empty paragraphs, which is ideal in your case. Then search for ## and replace it with nothing. But better still, simply replace ^$ with nothing - to remove all empty paragraphs - and then set spacing before or after paragraphs to achieve the layout you need. I trust this helps. Brian Barker -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
