Extract and use a part of string with a regex in GVIM
- by André Vermeulen
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