Yasuhiro MATSUMOTO <[email protected]> wrote:

> Ah, I miss it.
>
> %g/Vaya con Dios/s//[\U&](#\L&)/|s/#[^)]\+/\=substitute(submatch(0),' 
> ','-','g')/

Hi

This is a bit shorter:

:%s/\v(Vaya) (con) (Dios)/[\U&](#\L\1-\2-\3)/g

-- Dominique

-- 
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

Reply via email to