On 24/03/2012, e-letter <[email protected]> wrote:
> On 23/03/2012, Doug <[email protected]> wrote:
>> Interesting problem:  An email text is received which you need to format
>> for publication.
>> The email uses a carriage return at the end of each line, and a double
>> carriage return
>> for paragraph spacing.  What I'd like to do is remove the cr's at the
>> end of each line, so
>> the text can be justified, and turn the double cr's into paragraph
>> controls, or just leave
>> as double cr's.  Obviously all this can be done a line at a time by
>> hand, but it's a pain.
>> Is there any way someone can suggest to automate this?
>>
>
> This is quickly performed by using regular expressions, either in LO
> or more easily in any decent text editor.
>
> On a separate issue, what is the syntax in LO to select paragraph
> breaks (pilcrow (ΒΆ) sign) in the 'find and replace' dialogue window?
>
Subsequent posts indicate why it is much easier to solve this question
by use of a text editor instead of LO.

For example, it seems that double carriage return is equivalent to an
empty line. As for the line feed a simple remove may be achieved in
jedit:

find
\n

replace with
[empty field]

would remove new lines and replace with a space ( ) character.

-- 
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