I need to use regexp. there are a lot of lines like these. I can't manually do it.
Jerin On 6/29/06, Saurabh Jain <[EMAIL PROTECTED]> wrote:
On 6/29/06, Jerin Joy <[EMAIL PROTECTED]> wrote: > Hi, > > I have data that looks like this > > input [4:0] a.b.c.d; > which I need to replace with > input a.b.c.d [4:0] d; > > ie. I want to copy a.b.c.d and place it after input and replace it > with d after [4:0]. Hi, you can try..... // In non-insert mode press v to start visual mode // Then use arrow keys to select the required text. //After selecting, press "d" to delete the selected text. // And paste it using "p" wherever you want. Happy vimming -Saurabh -- "Busy Wasting Time"
-- http://jerinj.blogspot.com/ --
