Mathematica Notebook has a Search&Replace dialog, which allows to look for particular expressions. But I'd like to be able to find instances of code corresponding to a particular pattern. E.g. if the pattern is x^_
, I'd like to find all occurrences of things like x^2
, x^(some*expression[352.34])
etc..
It seems that Search&Replace dialog doesn't have this option. How can I achieve this?