Fields / Formula / function

ContainsPattern

Whether the pattern (a regular expression) is anywhere in the text.

Syntax

ContainsPattern(text, pattern)

Returns

Boolean (null when the pattern is blank).

Example

ContainsPattern(Description, "[0-9]{3}-[0-9]{4}")

Notes and limitations

^ and $ still anchor it to the start and the end: ContainsPattern(Subject, "^RE:"). Everything else works as in MatchesPattern.