As far as I know searching and replacing is only possible for text. I think sometimes it would be very helpful to be able to replace format codes too, or at least ERT. Of course I can do that outside of lyx with an editor. But this is inconvenient and moreover dangerous (if you make mistakes). What do you think about that? Maybe it's also inside of lyx too dangerous. Gerhard Schuck