Use the REGEX formula function in a query-based view filter or a table view threshold for the text or timestamp that matches a pattern. The pattern is based on a regular expression.
Scan for a string based on Regular
Expression patternREGEX(Type)
== '[A-Za-z]{3,9}'
REGEX(Timestamp) == 7,10
| Operator | Description |
|---|---|
| . period | Match any single character |
| ^ caret | Match the empty string that occurs at the beginning of a line or string |
| $ dollar sign | Match the empty string that occurs at the end of a line |
| A | Match an uppercase letter A |
| a | Match a lowercase letter a |
| \d | Match any single digit |
| \D | Match any single nondigit character |
| \w | Match any single alphanumeric character; a synonym is [:alnum:] |
| [A-E] | Match uppercase A, B, C, D, or E |
| [^A-E] | Match any characters except uppercase A, B, C, D, or E |
| X? | Match none or one capital letter X |
| X* | Match any number of capital Xes |
| X+ | Match one or more capital Xes |
| X{n} | Match exactly n capital Xes |
| X{n,m} | Match at least n and no more than m capital Xes; if you omit m, the expression tries to match at least n Xes |
| (abc|def)+ | Match a sequence of at least one abc and def; abc and def would match |