This question already has an answer here:
I've the following example line:
aa ... abc abc abc ... zz
I'm aware that
:s/abc/ok/ will change the first occurrence of
abc in the current line and adding
g flag will change all of them.
How do I change last occurrence of the string (without knowing how many there are and what's after the last)?