Let us assume that I select some text in Safari and copy it to the clipboard, for example “foo, bar” (without the quotation marks). I can see now that it is available in Macvim in the "* register by typing :reg. I can copy the content of this register into the Vim editor with a shortcut or using edit->paste. But how do I modify the content of this register (or any register for that matter), before pasting it. As an example, how would I apply a search and replace routine, such as searching for the “,” and replacing it with a “.”, such that the register now contains “foo. bar”?
Thanks in Advance!
You can do that with every named register.
Your example can be dealt with:
But you should probably make some backup before actually doing anything too complicated: