Officially this is the 'substitute command'. The syntax is as such:
:s/pattern/replacement/flags
Any [[range]] can be used:
s - the default range, represents the current line%s - every lineRunning just :s will repeat the last substitution without the flags.
:&& repeats the last substitution with flags
:~ repeats the last substitute command with the same replacement (2nd arg), but with the last used search pattern (1st arg).
& repeats the last substitution without its range and flags in normal mode.
& - use the flag(s) from the previous substitute commandc - confirm each substitutiong - replace all occurrences in each line (not only the first one)i - case-insensitiveI - case-sensitiven - report the number of matches