How to find a word in tags using Base?

For example I have tag #a/b/c_text_here_alt_need_to_be_find (not in frontmatter but inside the note)
How can I find it using Base?

Hi.

```base
views:
  - type: table
    name: Table
    filters:
      and:
        - file.hasTag("a/b/c_text_here_alt_need_to_be_find")

```

```base
views:
  - type: table
    name: Table
    filters:
      and:
        - file.hasTag("a")

```

What if I have a lot of different tags with “alt”?
Do I need to mention all of them in ‘filters’?

Could try:

```base
views:
  - type: table
    name: Table
    filters:
      and:
        - file.tags.toString().contains("alt")

```

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