I am trying do a find and replace in VI to remove a timestamp. I usually do this in VI using the S command but how do I tell VI I need to remove colons when its part of the structure of the VI command itself
EX: ” xxxxx xxxxx 24:00:00 CDT”
tried
s:24:00:00 CDT::g
s:"24:00:00 CDT"::g
s:/:::g
Any assistance is appreciated.
Normally, vi uses the character that follows the command letter as seperator.
Try this: