Hi KevM! On Mi, 08 Jul 2009, KevM wrote:
> > I have some tab delimited data of the following form: > <tab>0001.50<tab>000000100<tab>0007 > <tab>0035.25<tab>000025444<tab>0010 > ...etc... > > I would like to replace any consecutive series of "0"s imediately > following a tab with spaces. > How about: :%s/\(\t0*\)\@<=0/ /g If I am not mistaken, this should do what you want. regards, Christian -- :wq! --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
