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

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

Written By
Web Webster
Web Webster
Apr 15, 2010

[ 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

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.