> For the complete documentation index, see [llms.txt](https://docs.tabula.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tabula.io/data-transformation/formulas/string-functions/matches.md).

# Matches

Finds if a string matches the regular expression pattern

```mathematica
Matches("email@example.com", "\\w+@\\w+\\.com") → true
Matches("2023-10-05", "\\d{4}/\\d{2}/\\d{2}") → false
```

#### Inputs

`Matches(string, searchRegexp, [isCaseSensitive])`

* `string` - A text value to search in
* `searchRegexp` - A regular expression to search for
* `[isCaseSensitive]` - **\[optional**: `true` by default] - Set `false` if search should be case **insensitive**
