blob: 0019db5f9039087083482c478378c70d738fb288 [file] [log] [blame]
<meta http-equiv="REFRESH" content="10;url=http://wiki.services.openoffice.org/wiki/Documentation/FAQ">
<h3>This page is outdated. You will be redirected to <a href="http://wiki.services.openoffice.org/wiki/Documentation/FAQ">http://wiki.services.openoffice.org
/wiki/Documentation/FAQ</a> shortly.</h3>
<div style="margin-bottom: 10em;"></div>
<p><a href="../../index.html">Documentation</a> / <a href="../index.html">User FAQ</a> / <a href="index.html">Writer</a> / <a href="015.html" accesskey="p">Previous</a>-<a href="017.html" accesskey="n">Next</a></p>
<h3>How do I remove a large number of hard returns from text that were pasted into my document (for example, from an email message)?</h3>
<P><!-- ^^^ -->Follow these steps:
</P>
<UL>
<LI><P>Select Edit -&gt; Find &amp;
Replace
</P>
<LI><P>Near the bottom left of the dialog
that appears, click on the box next to &quot;Regular Expressions&quot;
</P>
<LI><P>In the &quot;Search For&quot;
field, type: ^$ This regular expression says to search for a
paragraph marker '$' at the beginning of a paragraph - programmer
terms for an empty paragraph.
</P>
<LI><P>Click on the &quot;Find&quot;
button
</P>
<LI><P>To replace the hard return with a
space character, type a space in the &quot;Replace With&quot; field,
then click the &quot;Replace&quot; button
</P>
<LI><P>To replace the hard return with
nothing (remove the character), click the &quot;Replace&quot; button
(without entering anything in the &quot;Replace With&quot; field)
</P>
<LI><P>If you have many hard returns to replace, you can also use
the &quot;Replace All&quot; button. It is wise to save your document
prior to using this option, in case it behaves unexpectedly.
</P>
</UL>
<P>Note: Regular expressions do not appear to work in the 'Replace'
field.</P>
<P><!-- ^^^ --></P>
<p><a href="../../index.html">Documentation</a> / <a href="../index.html">User FAQ</a> / <a href="index.html">Writer</a> / <a href="015.html" accesskey="p">Previous</a>-<a href="017.html" accesskey="n">Next</a></p>