G. Roderick Singleton wrote:
On Sat, 2005-04-09 at 13:38 +0100, A. Beal wrote:
Dear Friends,
I am currently using Open Office 1.1.4 and although it is generally very good, the 'Find & Replace' function seems very limited. I tried to use it to strip out unnecessary paragraph breaks (carriage returns), which can easily be done using 'Find and Replace' with most wordprocessors. However I could not find a way to get Open Office to search for paragraph breaks. I tried Regular Expressions but the list in Help does not include paragraph breaks - and using the standard Regular Expression for a paragraph break (/r) did not work (it simply found the letter 'r'.
Am I missing something, or is this part of Open Office as limited as it appears? (Compare it with WordPerfect which allows all kinds of things to be searched for and replaced.)
Thanks for any help you can offer.
Yours,
Alasdair Beal
FAQ item, see http://documentation.openoffice.org/faqs/word_processing/016.html
The shortcoming with this is that it only removes paragraph breaks, not line breaks, which are a different character. It doesn't rewrap text which is what I understand the OP wants to achieve.
The list of regular expressions in OOo Help doesn't address that "line break"/rewrap situation.
Line break/rewrap: "\n"...
___
asd (paragraph break)
sada (line break) foo fa
bee
___ ---> Find and replace with regular expressions (find: "\n" replace with: "#"
asd
sada#foo#fa#
bee ___
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
