Assert that page contains or does not contain text matching a regex pattern.
Step pattern
Then (I |we )*should( not)* see text matching "([^"]*)?"Examples
Example #1
Then I should see text matching "^T\w+"Example #2
Then I should not see text matching "^O\w+"Example #3
And we should see text matching "\d{4}"