Leo Gürtler schrieb:
is it possible to search and replace within a latex environments?
Not yet, but in the next major LyX version, see http://wiki.lyx.org/LyX/NewInLyX20 For now you can open your LyX file with a text editor and then replace. regards Uwe