Sometimes it's useful to replace all occurences of a string in a restricted area.
Could you please add an option "restrict to selected area" to provide this feature.