To find and replace occurrences of a code pattern
On the main menu, choose
ReSharper | Find | Search with Pattern. The Search with Patterndialog box opens.
Replacein the window's menu bar to switch to the Replace mode.
Define a search pattern in the
Search patterntext area.
Define a replace pattern in the
Replace patterntext area.
Replaceto start searching for occurrences of your search pattern.
Replace with Patterndialog box opens. Choose search pattern occurrences that you want to be replaced with the replace pattern, and click Replace.