Search and replace new line - non regex

Use case or problem

When you want to search (and replace) text that takes up more than a single line.

Proposed solution

To be able to select the multi line text and use the Search and replace command to find that text.

Current workaround (optional)

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.

Related feature requests (optional)

This request could accomplish my goal but using regex: Regex functionality for find and replace within obsidian


1 Like