To remove columns 4 and 5:
:%s/^\(.\{-}\t\)\{3}\zs.\{-}\t.\{-}\t//
Explanation:
^ => start of line
.\{โ} => as few characters as possible
\( .\{-}\t \)\{3} => three times as few characters as possible followed with a tab
\zs => start of match
With a switch it \v
might be clearer:
:%s/\v^(.{-}\t){3}\zs.{-}\t.{-}\t//
source
share