Hi :)
The \n doesn't seem to work in Writer 3.3.2.  But there has to be something 
like that, some mark to show a hard-carriage return.  Knowing what it is would 
make this easier!
Regards from
Tom :)


--- On Mon, 28/11/11, Mirosław Zalewski <[email protected]> wrote:

> From: Mirosław Zalewski <[email protected]>
> Subject: Re: [libreoffice-users] deleting hard returns
> To: [email protected]
> Date: Monday, 28 November, 2011, 10:21
> On 28/11/2011 at 03:32, poemblaze
> <[email protected]>
> wrote:
> 
> > Help! I am wanting to delete hard returns that were
> placed at the end of
> > every line of a large document. All I've seen is how
> to delete a paragraph
> > (hard) return in a blank paragraph. 
> 
> If by "hard return" you mean Shift+Enter, it's pretty
> easy:
> 1. Open find and replace dialog (by default it is
> Ctrl+Alt+F in LO 3.4).
> 2. In "More options" check "Regular expressions".
> 3. Search for "\n" (backslash and n).
> 4. Click "Replace all" (don't enter any replacement
> string).
> 
> That's it. All hard returns disappear.
> 
> > I'd also like to convert hard returns
> > to soft returns in a couple places. That is the
> opposite action of what
> > I've seen explained elsewhere. 
> 
> With "Regular expression" you can search for "\n" and
> replace it with "\n" 
> (backslash n again). This will convert hard return to soft
> return 
> (if I understand these words correctly).
> 
> The tricky part is to tell LO which hard returns you want
> to delete and which 
> converted to soft return. I can think of one way:
> at beginning of line after hard return you want converted
> to soft return, 
> place some character, like "ß" (German scharfes S - if
> your document isn't in 
> German, it's unlikely that you have it anywhere in it), and
> then search for 
> "\nß" and replace it with "\n". Now search for "\n" and
> replace it with 
> nothing in order to delete unwanted hard returns.
> 
> HTH.
> -- 
> Best regards
> Mirosław Zalewski
> 
> -- 
> 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

Reply via email to