String checks
Testomato allow create string checks for two types of page content. Those simple checks can be created for:

HTML on page- represents raw source code that we downloaded from given URLText on page- represents just readable text from given URL
Then you can use following operators:
contains- check that downloaded content contains given string with substr() PHP functiondoes not contain- check that content does not contain given stringequals- content is exactly samematches- check that content match regular expression with preg_match() PHP functiondoes not match- check that content not match
String checks are case sensitive, so make sure you PaY ClosE AtTentioN to the text you enter.
How regular expressions are processed
Testomato process and escape all users inputs including regular expressions. We are using { and } for wrapping your
regex and also add following Pattern Modifiers:
upattern and subject strings are treated as UTF-8. An invalid subject will cause the preg_* function to match nothing;msubject strings are treated as multi-line string
You can debug your regex with https://www.phpliveregex.com/ or https://phphub.net/regex/
When use Text on page when HTML on page?
HTML on page is content as we downloaded from given url, only encoded to utf8 - it's useful for checking whole content including
HTML tags or meta information in <head></head>.
Text on page is subset of HTML on page - we just remove all markup (HTML tags,
header, scripts etc.) and then apply all your checks.