In vs.net, I want to search for all occurances of
[someWord]
in my .sql file, and replace it with
[SomeWord]
Is this possible? (notice the uppercasing of the first character in the result)
In vs.net, I want to search for all occurances of
[someWord]
in my .sql file, and replace it with
[SomeWord]
Is this possible? (notice the uppercasing of the first character in the result)
If it's just a certain word:-
s/\[someWord\]/[SomeWord]/
But it might just be better to use a replace function
If it's anything in square brackets.
s/\[[a-zA-Z]+\]/[\u\1]/
Not sure but you might open that sql file externally is some editor like notepad++ and replace the stuff accordingly.
Yes you can do Regex searches/Replaces in vs.net, just make sure to check the box in the dialog. The regex syntax is different from the Perl/.Net one though. Pay attention to the differences in syntax.
There's some reference here: