Tinderbox Forum

Need to find one string and another string elsewhere in a note

Hi, I know I can do A|B to find notes that contain either A or B. But I can’t find out how to find notes that contain both A and B, each somewhere in the note but not necessarily adjacent. I’ve searched both the Internet and this forum and haven’t found anything.

Help me, Obi Wan Kenobi, you’re my only hope.


$Text.contains("Reading") & $Text.contains("Writing")




The OP is looking, I think, for the case in which both words are present in the same text, so we always need to run the first test & the second test too.

(A match on just one of them is not enough)