Text be replaced only in selected region

Hope function about text be replaced only in selected region (inside Formula editor).