To match the string behind the :
:
TE: trailer
The expression will convert the string into trailer
:
:1s/\v(.{-}):\s{1,}(.{-})/\2/
Why 1s/\v(.{-}):\s{1,}(.{-})/\2""/
convert the string into ""trailer
instead of trailer""
?
Almost the same result:1s/\v(.{-}):\s{1,}(.{-})/"\2"/
convert the string into ""trailer
instead of "trailer"