If you need to find something and replace in the open file, you can do this:
Go to Edit Menu -> you will find Replace and below the editor will appear Incremental Search Sidebar where you can type what you need to find and replace.
Shorcuts:
Ctrl+H for Find what and Replace with in the open file.