Search should exclude wikilink/embed lines (e.g. ![[...]]) from results

Important Note
Popularity of a Feature Request is one of the factors we consider when we decide which new features to implement. Therefore, we strongly recommend you to search the forum with possible keywords.
If your request is very similar to an existing one, like it (:heart:) and make a meaningful comment, rather than creating a new thread. It also keeps the forum sane! If you find duplicate threads, feel free to send the moderators a message.

Feature requests for the Obsidian Developer API go here
Feature requests for Obsidian Importer go here
Feature requests for Obsidian Web Clipper go here
Feature requests for Obsidian Maps go here

Once you are done reading, please delete the above notes

Use case or problem

When searching for a note’s filename, every note that embeds an image
stored under a path containing that filename appears in the results —
often with dozens of matched lines per note. This makes search results
extremely noisy and practically unusable for filename-based searches.
This is especially common when using Obsidian’s default attachment
folder setting that includes the note name in the path, or when
importing content via Web Clipper, where filenames are not user-controlled.

Proposed solution

Add a search operator such as -link: or -embed: to exclude lines
containing wikilink or embed syntax (![[…]] or [[…]]) from search
results. Alternatively, provide a toggle in the search panel to
exclude embedded/linked file reference lines from matches.

Current workaround (optional)

None. Regex-based approaches (e.g. negative lookahead to skip ![[…]]
lines) do not work reliably in Obsidian’s search engine. The only
partial mitigation is using the file: operator, which limits results
to filename matches only and does not search note content at all.

Related feature requests (optional)