Use the `match` matcher to check if a string matches a regular expression: `its('string') { should_not match /regex/ }`.