vi

Replace all instances

syntax for replacing every occurrence of a string in the entire text 1

:%s/pattern/replace/

Last updated