| <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 -> Find & |
| Replace |
| </P> |
| <LI><P>Near the bottom left of the dialog |
| that appears, click on the box next to "Regular Expressions" |
| </P> |
| <LI><P>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. |
| </P> |
| <LI><P>Click on the "Find" |
| button |
| </P> |
| <LI><P>To replace the hard return with a |
| space character, type a space in the "Replace With" field, |
| then click the "Replace" button |
| </P> |
| <LI><P>To replace the hard return with |
| nothing (remove the character), click the "Replace" button |
| (without entering anything in the "Replace With" field) |
| </P> |
| <LI><P>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. |
| </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> |