Finding all the TODOs in the Vault, but they are strings, not regular tasks

This comment is useful: In DataviewJS() how can I filter by page content in dv.pages()? - #2 by Oneechan69.
It shows how to check a page for a content and create a table with it.
I still need help, though, because the idea is to check the content of a line in the file and return jusst that line.