Jon Gallant

How to do a search and replace in Visual Studio with Regular Expressions

1 min read

I just removed the word “test” from all of our test method names. Here’s how I did it:

4118.image 5F00 thumb 5F00 17546F06

Find what: public void {.*}test

Replace with: public void \1

Share:
Share on X