When you want to search (and replace) text that takes up more than a single line.
To be able to select the multi line text and use the Search and replace command to find that text.
In VSCode you can accomplish what I am requesting here. The way it works is that you have to select the text in the editor and use the command which will paste the selected into the search field, including the new lines. It doesn’t allow you to add new lines while composing the search directly in the field, and that is fine. My request for the functionality in Obsidian mirrors this, but of course if we could add the new lines directly in the search field, that would be an awesome bonus.
This request could accomplish my goal but using regex: Regex functionality for find and replace within obsidian