Ask Your Question
1

Search and Replace non-printing characters.

asked 2012-09-15 03:21:59 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm new to LibreOffice Writer and have a couple of bones to pick but have found work-arounds for most of my issues. However, the "Find and Replace" function in LibreOffice Writer has me stymied.

Open "Find & Replace" in Windows MS-Word, click "More" and you see a list of non-printing formatting characters, e.g. Paragraph Marks, Manual Line Breaks, etc., that you can use Search & Replace to modify your document. For instance, replace two paragraph marks (2 "Return" key entries) with one paragraph mark (1 "Return" key) and a tab character. Also, please don't say to do it manually, I've 300 pages of text to format.

Does LibreOffice Writer have ANYTHING similar? Don't point me at the Regular Expressions...they don't work e.g. \n\c in the "C" programming language is a new line\carriage return character combination and \t is a tab character. In Libre Office Writer, ]n is a hard page break. I know, I tried to get it to work. Please help.

Many Thanks.

edit retag flag offensive close merge delete

Comments

@Beelzebub – Do you have solved the problem?

manj_k gravatar imagemanj_k ( 2013-01-27 16:27:02 +0200 )edit

I'm trying to format a document without tab indents after paragraphs. Format requirements are no indents and a common space between paragraphs. I've been trying to figure this out for two hours. Tried going to Find and Replace non print characters formatting. I see the tab arrows but no way to remove them.

thogstacker gravatar imagethogstacker ( 2015-06-27 18:15:58 +0200 )edit

4 Answers

Sort by » oldest newest most voted
2

answered 2012-09-15 05:53:40 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

edit flag offensive delete link more

Comments

Sounds like this extension is very useful!

qubit gravatar imagequbit ( 2013-02-23 06:32:54 +0200 )edit
1

answered 2012-09-15 04:08:30 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

edit flag offensive delete link more

Comments

Thank you! As an LO newbie this solved my first stumbling block.

David Baril gravatar imageDavid Baril ( 2014-09-15 19:20:40 +0200 )edit
0

answered 2015-06-27 18:16:39 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Excuse me. I misspoke. It did work. Thank you.

edit flag offensive delete link more

Comments

Did NOT work for me. I added the find/replace extension. Confirmed in tools/extension manager. Tried ^p , /p, \p, "^p", "/p"and more. tried variations of the $ to find paragraph mark. Nothing seems to find the paragraph mark.

wanconm@gmail.com gravatar imagewanconm@gmail.com ( 2016-01-06 23:14:57 +0200 )edit

Did Work. sort of. I found the alternative find and replace with the binoculars icon. The task was just to put paragraphs in alphabetic order based on the first letter(s) of that paragraph which would be somebody's name. I have done this before I think with Word. Soooo...... With this extension I could find the paragraph symbol and replace it with the line return, BUT after the symbol was found, I could not elect to not replace it and find the next, any ideas?

wanconm@gmail.com gravatar imagewanconm@gmail.com ( 2016-01-06 23:43:52 +0200 )edit
0

answered 2016-04-25 01:21:25 +0200

I use LO for most things now, except for this problem: cleaning up “dirty” documents. I still kept a copy of "MS Word 95" just because I was used to it, and I tried many times doing same in LO but gave up - it never worked.

It took me the last 3 hours but I finally figured it out. Time to chuck Word (and MS Windows) at last! :-)

This is how I used to do it before, using MS Word:

  1. search for ^p^p and replace with XX
  2. search for ^p and replace with _ (a single space)
  3. search for XX and replace with ^p
  4. search for _ _ (double space, no spaces!) and replace with _ (single space)
  5. run it multiple times until there are no more extra spaces in the document

This is how I now do it, with Libre Office

  1. download and install extension called “Alternative Searching” :-(
  2. search for ^$ and replace with XX_ (a space after the XX)
  3. search for $ and replace with a _ (space)
  4. open the Alternative Searching extension and…
  5. search for XX_ and replace with /p
  6. search for _ _ (double space, no spaces!) and replace with _ (single space)
  7. run it multiple times until there are no more extra spaces in the document

Hope it works for you.

Cheers, skris88

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-09-15 03:21:59 +0200

Seen: 17,401 times

Last updated: Apr 25 '16