We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

find and replace non-breaking hyphen [closed]

asked 2017-03-28 18:51:33 +0200

Dski gravatar image

updated 2020-09-28 19:13:22 +0200

Alex Kemp gravatar image

I have a document that I exported from a PDF file to an RTF and then edited it in LibreOffice Writer. Adobe Acrobat Pro exported a bunch of non-breaking hyphens that I want to replace with regular hyphens. I have been unable to find a way to do this other than the brute force method of searching by eye to find each one and replacing it by hand.

If I copy a non-breaking hyphen into a text editor I see that the character is 'AD' but I've tried all kind of ways to search for that and it doesn't find it. I've tried copying the non-breaking hyphen and pasting it into the Find box in the Find & Replace dialog. I've tried inserting it into the Find & Replace dialog using Ctrl+Shift+-. I've tried the regular expression \U00AD. Nothing seems to work. Any ideas?

I'm using LibreOffice Writer version on Windows 7.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-09-28 19:13:40.518254

1 Answer

Sort by » oldest newest most voted

answered 2017-03-28 20:46:29 +0200

LibreTraining gravatar image

The AltSearch extension will search for what it calls Custom hyphens (\x00AD).
Get it here:

Just replace with nothing.

edit flag offensive delete link more


Thanks, I'll check it out.

Dski gravatar imageDski ( 2017-03-28 22:47:43 +0200 )edit

Question Tools



Asked: 2017-03-28 18:51:33 +0200

Seen: 290 times

Last updated: Mar 28 '17