If you have the text already and just need to find something inside it, there are a few ways of doing it.
You can use an IF statement like this:

In this case, I set %TextOne% and %TextTwo% that are to be checked for as variables, but you can also pass then as literal values.
Here's a snippet that you can paste directly into PAD and it will create the action for you:
IF (Contains(OCRText, TextOne, False) OR Contains(OCRText, TextTwo, False)) = True THEN
END
It's a bit tricky, as you need to know how to write it. It actually looks like this in the condition action itself:

Alternatively, you can also use the Parse text action with regex that searches for a certain value.

This can actually be used in case you also need to find some text that goes before or after the one that you're looking for, so it is more useful when you're trying to not only check if the text contains something, but also find some other values based on your inputs. Here's the snippet:
Text.ParseText.RegexParseForFirstOccurrence Text: OCRText TextToFind: $'''(%TextOne%)|(%TextTwo%)''' StartingPosition: 0 IgnoreCase: False OccurrencePosition=> Position Match=> Match
If you find my reply to answer your question, please mark it as the preferred solution.
Thank you.