Suppose I want to replace
x^{n_{1}}y^{n_{2}}z^{n_{3}}
with
x^{m_{1}}y^{m_{2}}z^{m_{3}}
Is there a fast way to do this? I am certainly missing this feature from LaTeX editors like gvim and kile. If I use the Ctrl+F dialog to find and replace "n" with "m", it does it on the whole document, and the change is so massive it won't let me revert (Ctrl+z)! So, I've learned to save before using that dialog.
{n_{and replacing this with{m_{? That way it will only pertain to math-related subscripts. Also, most editors (I'm assuming LyX included) would allow search-and-replace to pertain to an entire file, or only a selection. – Werner Oct 13 '11 at 05:32