Rest API for searching exact word match or exclude searching this word in the labels field

Hello,

Is there a way to search for pages that contain a certain word but exclude the type labels? Or maybe search for an exact word match (case-sensitive perhaps)?

I’m trying to search for pages that contain a specific word inside a Page Properties macro but the results retrieve the pages that contain this word as a label as well.

I don’t want to exclude searching for this label entirely because then the results exclude some pages that contain the word inside the Page Properties macro as well.

Best,
Vassia