I want to make an automatic refactoring of source code. I can do it using regular expressions, code it in C# or writing a plugin for ReSharper.
The benefit of the last choice is that it would be code aware. It doesn't see the code as a long string, but it is aware of properties, fields, accessors, and so on.
Would a similar question fit Stack Overflow?