---
title: regex
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/predicateexpressions/stringcontainsregex/regex
---

# regex

## Declaration

```swift
let regex: Regex
```
