SyntaxFix
Write A Post
Hire A Developer
Questions
Many ways to skin a cat... here's the way I just posted about:
:%s/[A-Z]/\L&/g
Likewise for upper case:
:%s/[a-z]/\U&/g
I prefer this way because I am using this construct (:%s/[pattern]/replace/g) all the time so it's more natural.
:%s/[pattern]/replace/g