# $Id: vi.txt,v 1.2 2002/06/07 01:40:16 tjn Exp $ # Substitute an "F" for all digits on a line # notice the wonderful notation for character classes! :s/\[[0-9\]]/F/g # Remember the word "Remember" and insert "F"'s around it # notice the wonderful notation for memory parentheses! :s/\(Remember\)/ F \1 F/g