* Melvin Simon <whereismelvin@gmail.com> [2015-07-27 04:05 -0700]:
> Hi,
> 
> I am new to gvim editor. Needed a small help regarding gvim search and replace.
> 
> I needed to search and replace as:-
> 
> AIO_P71_TSD0_CTRL with AIO_PRI_TSD0_CTRL
> AIO_P71_TSD1_CTRL with AIO_PRI_TSD1_CTRL
> AIO_P71_TSD2_CTRL with AIO_PRI_TSD2_CTRL
> 
> I tried the below:-
> 
> >s/AIO_P71_TSD\.*_CTRL/AIO_PRI_TSD\0_PRI_CTRL/g
Hmm, wouldn't just
:%s/P71/PRI/c
do the job?
Elimar
-- 
    .~.
    /V\   L   I   N   U   X
   /( )\ >Phear the Penguin<
   ^^-^^
-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Monday, July 27, 2015
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment