At 16:12 11/07/2010 +0100, Harold Fuchs wrote:
I have a list of names, addresses and telephone numbers which I copy/pasted from a web page into Writer as unformatted text (Paste Special). Each "entry" (name, address, telephone number) consists of 3 *paragraphs* - one for name, one for address and one for telephone number. Each entry is separated from the next by a blank paragraph. I'd like each entry as a single paragraph thus: name<tab>address<tab>telephone number where "<tab>", of course, is a tab character.

There are rather a lot of entries. How, please?

o  Replace ^.*$ with &\t
o  Replace $ with nothing
o  Replace \t$ with nothing

(You won't need telling to tick "Regular expressions" or to use Replace All.)

It's not clear from your enquiry whether you want to keep the empty paragraphs. If so, finally replace $ with \n\n

I trust this helps.

Brian Barker


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to