Edit: Query Replace…
edit.queryReplace Replace matches one at a time, confirming each (y/n/! to replace all/. to replace and stop/q to quit).
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Edit: Query Replace…, then press Enter. It also has a default keybinding:
| Emacs | M-S-5 |