2009/9/26 Harold Fuchs <[email protected]> > > > 2009/9/26 James R. Liebert <[email protected]> > > See >> http://user.services.openoffice.org/en/forum/viewtopic.php?f=7&t=22725 >> for identification of deficiency. >> >> I hope someone more clever will show me how to enter a non-breaking >> space in the Find or Replace fields in respect to Writer, so I may find >> or replace. Yes, I know how to enter it into document text and how to >> copy and paste. I was hoping for a more elegant solution, as ancient as >> in Word 97. >> >> I have made a cursory and futile investigation in OO for way to insert >> something analogous to "^t" in Find field, which is the Tab character in >> Word 97. >> >> There are lots of such code character commands waiting to be discovered. >> >> James Liebert >> Akron, Ohio >> >> In the Find & Replace dialogue > > - click More Options > - check Regular expressions > - in the Find box enter "\x00A0" without the quotes > - optionally check "Current selection only" and/or "Backwards" > > You can now find, find all, replace, ... to your heart's content. > > The "\x00A0" means hexadecimal A0 which is decimal 160 which is the ANSI > (American National Standards Institute) code for a non-breaking space. > > You could write a macro ... > > Or you could use the Insert>Special Character menu where it's the 5th > character after lower-case z in the Latin-1 table. > > > Sorry to reply to my own post but ...
If you are on a Windows system and you use the wonderful, free program AllChars (http://allchars.zwolnet.com/) for entering accented characters, ligatures etc. then you can enter a non-breaking space with the 3-character sequence Ctrl s p; that is hit (do *not* hold down) the Ctrl key followed by s followed by p. I tried and, yes of course it works in the Find or Replace box in Writer *without* you having to use Regular Expressions. -- Harold Fuchs London, England Please reply *only* to [email protected]
