Can Dataview search through bulletpoints instead of tasks?

I use Dataview to pull in tasks which contain a link to a note, or a keyword.
I’m wondering if it’s possible to search through bullet points (not tasks) instead?

Currently using this to pull in tasks containing text “Running”
TASK WHERE contains(text, "Running")
Wondering if there’s anyway of doing something like:
BULLET WHERE contains(text, "Running")
And search bulletpoints (not tasks) for the text

My use case is to pull in data from daily notes containing target words, currently using tasks/checkboxes to be able to do this, however I’m ending up changing lines from bullets to tasks, in order to get dataview to pull the data into a review/MOC style note.

I suppose this would be like using Obsidian Search within a note to display a list/extract

1 Like

One variant could be to do:

```dataview 
LIST item.text
FLATTEN file.lists as item
WHERE !item.task
WHERE contains(item.text, "Running")
```

A little unsure on that task, which could be tasks, to eliminate the tasks from the list.

Yes this is exactly what I was trying to do, thank you!

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