About Me · E-mail · Twitter
At GROSSWEBER we practice what we preach. We offer trainings for modern software technologies like Behavior Driven Development, Clean Code and Git. Our staff is fluent in a variety of languages, including English.
Today I had to change a whole lot of code like this
public CheckBox ChkBypassProgram { get { return chkBypassProgram; } }
to the following naming convention.
public CheckBox BypassProgramCheckbox { get { return chkBypassProgram; } }
Completing the task doing a manual search and replace would be nerve-racking and error-prone. I came up with a handy regular expression that leverages Visual Studio's Regular Expression Search and Replace.
Find: <Chk{.+}>Replace with: \1Checkbox
Now playing: A-HA - Minor Earth Major Sky - To let you win
a@href@title, blockquote@cite, em, strike, strong, sub, sup, u