Created
January 11, 2024 15:32
-
-
Save robbratton/f1124e91e5471840274f775f5fb03291 to your computer and use it in GitHub Desktop.
Changing PowerShell Variables' First Letter to Uppercase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This example is in Visual Studio Code | |
Find pattern: \$([a-z]) | |
Set match case to true | |
Replace pattern: $$\U$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment