How to search parts of (nested) Tags?

I have nested Tags like #AAA, #AAAsss, #AAA/bbb, #AAA/ccc and so on

When I search for #AAA via “tag:#AAA” or just “#AAA”, I will get all sorts of results.

How can I tell Obsidian to only display “#AAA

(I think, it is not possible via regex search)

Thanks for your help!

You might check out my recent post:
Dataview Plugin Snippet Showcase (Dynamic Magic Book Catalog)
I spent a couple of (painful) days dealing with this issue, and I captured the solution that finally worked for me.
The post also summarizes some of the subtleties I found while working on the project. I hope it helps.

1 Like

Just to let you all know: Regex worked for me with this:

/(^|\s)#AAA(\s|$)/

and:

/(^|\s)#AAA/(\s|$)/

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.