Ask Your Question
0

find and replace non-breaking hyphen

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

Dski 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 5.2.3.3 on Windows 7.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

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:
https://extensions.libreoffice.org/extensions/alternative-dialog-find-replace-for-writer

Just replace with nothing.

edit flag offensive delete link more

Comments

Thanks, I'll check it out.

Dski gravatar imageDski ( 2017-03-28 22:47:43 +0200 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

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

Seen: 201 times

Last updated: Mar 28 '17