When searching for a text string in a file, use recent search history. Press &shortcut:Find; to open the search pane and then press &shortcut:ShowSearchHistory; to show the list of recent entries.

Recent search history