Tuesday, July 27, 2010

Replace except enclosed by delimiters (")

Hi all


Well, I'm starting to use Vim and still getting the hang of it. I have
a problem where I need to replace a text to lowercase, except if the
text is enclosed by double quotes and I'm not quite getting it.

As an example give the input text

FOO, FOO, fooO, "foOO"

I want it to become

foo, foo, fooo, "foOO"

Any ideas on this? Any help apreciated.

Best
Fd


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment