I'm trying to quickly change the date format in a downloaded csv file.

Is there a way to change the following   "12/27/2010"  --> "2010/12/27"
with one substitution command.

The second substitution question I have is how to I perform a substitution
but just add something to the pattern instead of completely replacing it.
For the same csv file i want to add a newline before the pattern and then
add some words after the pattern.  I remember seeing how to do this before
but can't find the instructions anymore

for example.

change  the following

one  $100

to this

one
  $100 two three four


thanks

-jbw

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