Linux Today: Linux News On Internet Time.

New-line search & replace in OpenOffice.org Writer -- the lazy way

Apr 15, 2010, 16:34 (0 Talkback[s])
(Other stories by Daniel Escasa)

[ Thanks to steve hill for this link. ]

"I’ve been editing the Philippine Star Trek fans’ section of the New Worlds Alliance site for a few months now, and the contributors have been submitting their articles embedded in the email message. I actually prefer that to an attached file, because I can read the article right away, without having to open another application. When I’m ready to edit, I ask GMail to create a Google document out of it.

"Trouble is, the resulting file has hard new-line characters after every line, and a double new-line between paragraphs. I could cursor to the end of each line, delete it, and type in a space, but my inner sloth told me there had to be a better way.

"I remembered this when I read Optimise OpenOffice.org by Sukrit Dhandania in Linux User & Developer. An anonymous user left a comment claiming that he had opened 10 tickets regarding basic new-line search-and-replace. i have opened 10 tickets with open office so far since it was star office and it cannot do basic new line search and replace. 10 times my ticket was closed in 10 years telling me its not important feature that needs attention.

"Then I remembered OpenOffice.org Writer’s Regular expressions option in the search dialog:"

Complete Story

Related Stories: