Sign in to follow this  

VS Find/Replace & regular expressions

Recommended Posts

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?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this