Extract and use a part of string with a regex in GVIM
Posted
by André Vermeulen
on Stack Overflow
See other posts from Stack Overflow
or by André Vermeulen
Published on 2010-05-20T11:19:27Z
Indexed on
2010/05/20
11:20 UTC
Read the original article
Hit count: 390
I've got a string:
doCall(valA, valB);
Using a regex in GVIM I would like to change this to:
valA = doCall(valA, valB);
How would I go about doing this? I use %s
for basic regex search and replace in GVIM, but this a bit different from my normal usages.
Thanks
© Stack Overflow or respective owner