VS Find/Replace & regular expressions
I'm attempting to change "set<Name>" to "<Name>" in hundreds of locations in my source files. The problem is every instance has a capital letter after "set" (i.e. setPosition, setSize, ect...)
Using Visual Studio's Find/Replace with regular expressions, I'm using the following for the Find, "set{:Lu}".
For the Replace, I've only come up with "\1", which just produces the following: "Position, Size, ect..."
I would like to convert those to lower case letters. How do I convert the "\1" term to lower case?
AFAIK you can't do that kind of transformation, at least without explicitly doing a search and replace with A-Z individually.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement