Let's say I have:
foo and Foo
How can I find and replace it to
bar and Bar
With one regex/find and replace command in Vim? By default I have my Vim setup to find either uppercase and lowercase when searching. Now I just want to replace keeping the capitalization. Is this even possible?