> i have file consists ip address for example
> [['192.168.10.1']]
> 
> any idea how to delete [[' and ']]

There are a lot of expressions you could use, depending on how 
lax you want to be.  The first that comes to mind is

   :%s/\[\['\([^']*\)'\]\]/\1/g

which should be sufficiently generic to handle cases where more 
than one appears on a line (a detail you omit).

-tim




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

Reply via email to