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
i.e. I was guessing \0 would print the characters (here 0,1,2) matched by .* however looks like its matching the entire word. Can some one tell me how to accomplish the above search and replace.
Thanks in advance
Melvin
Thank you Tim! Perfect!