Starting with Desktop App version 2.18.9, you can now create regex assertions in web and mobile tests! With the new "matches regex" assertion type, you can pass in a regular expression pattern to match the text content of an item you're asserting against.
The "matches regex" assertion type uses the standard JavaScript regular expression implementation. This standard includes JavaScript regex literal notation, so you can wrap the pattern in forward slashes and provide optional flags, such as "i" for case-insensitive matching or "m" for multiline matching. If the forward slashes are omitted, mabl asserts against the provided pattern as if no flags were passed in.
Click here to learn more about assertions in the mabl Trainer.