Replace all occurrences of str1 with str2 in certain line:
:s/str1/str2/g
remove the g option if you want to replace only the first occurrence.
Replace all occurrences of str1 with str2 in certain line:
:s/str1/str2/g
remove the g option if you want to replace only the first occurrence.