> From: Ricky
> Sent: Tuesday, August 11, 2009 15:23
> ---
> I've never saw a saw saw a saw
> I just want to replace the 2nd or 3rd "saw", Do you have any idea?
> 
Hi Ricky,

Not beautiful solution to replace 3rd "saw" to "seen":
s/^\(.\{-}saw.\{-}saw.\{-}\)\(saw\)/\1seen/

Bulat.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to