OpenOffice FAQS
Back     FAQ(s) in Category: Write   page 6 of 13  
< Previous | Next >

How do I remove a large number of hard returns from text that were pasted into my document (for example, from an email message) ?
Modified On 04/07/2008
 
Follow these steps:

Select Edit -> Find & Replace

Near the bottom left of the dialog that appears, click on the box next to "Regular Expressions"

In the "Search For" field, type: ^$ This regular expression says to search for a paragraph marker '$' at the beginning of a paragraph - programmer terms for an empty paragraph.

Click on the "Find" button

To replace the hard return with a space character, type a space in the "Replace With" field, then click the "Replace" button

To replace the hard return with nothing (remove the character), click the "Replace" button (without entering anything in the "Replace With" field)

If you have many hard returns to replace, you can also use the "Replace All" button. It is wise to save your document prior to using this option, in case it behaves unexpectedly.

 
Rate Average
All Categories (13)
 
Write (7)
Word Processor
 
Base (1)
Database
 
Calc (3)
Spreadsheets
 
General (2)
 

 

[Home] [Links] [News Letter] [FAQs] [XP FAQs] [Vista FAQs] [OpenOffice FAQS]

 

RJT Internet Services

Email

Helpline@rjt.co.uk

 

aff_get_avg_internet_security_anim

 

Design by Ron Taylor

© Copyright RJT Computers 2004