Search/find (and collection) of string in comments or footnotes.

I’ve not found a way to perform a search within my comments and or footnotes. Is there a way to perform a search for a string and set up a collection based on that search within my comments and or footnotes?