The excalidraw files will be compressed into base64 strings, which include a lot of letters. When I want to search some short words, the short words are usually included in the base64 strings.
Do I remember right that Excalidraw files have their own filename extension? If so, as a workaround you can add -file:.excalidraw (or whatever it is) to your searches to exclude them. You could bookmark a search containing only that to potentially save some typing (or just always leave it in the search box).
That’s not elegent at all ![]()
Thank you, yeah, it’s partially useful but not perfect. ![]()
Excluded Files doesn’t support asterisk wildcards. I believe this regex should work:
/.*\.excalidraw$/
Can you describe “didn’t work” in more detail?
No option here seemed to work for me because I often search for very short terms that are present in the base64 compression.
What does work for me though is making a search term bookmark, this is easy to press instead of remembering and typing some weird regex.
This regex just makes sure there is a space in front of the word.
Has worked for me so far.
Another way to get only whole words that aren’t part of another word is to quote them.
For anyone looking for a regex filter to exclude Excalidraw files, I found that my Excalidraw files have the markdown extension. So I am using the following filter:
/.*\.excalidraw\.md$/
This regex should match any file path that ends with .excalidraw.md




