---
title: regularExpression
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nstextcheckingresult/checkingtype/regularexpression
---

# regularExpression

Matches a regular expression.

## Declaration

```swift
static var regularExpression: NSTextCheckingResult.CheckingType { get }
```

## See Also

### Constants

- [orthography](foundation/nstextcheckingresult/checkingtype/orthography.md)
- [spelling](foundation/nstextcheckingresult/checkingtype/spelling.md)
- [grammar](foundation/nstextcheckingresult/checkingtype/grammar.md)
- [date](foundation/nstextcheckingresult/checkingtype/date.md)
- [address](foundation/nstextcheckingresult/checkingtype/address.md)
- [link](foundation/nstextcheckingresult/checkingtype/link.md)
- [quote](foundation/nstextcheckingresult/checkingtype/quote.md)
- [dash](foundation/nstextcheckingresult/checkingtype/dash.md)
- [replacement](foundation/nstextcheckingresult/checkingtype/replacement.md)
- [correction](foundation/nstextcheckingresult/checkingtype/correction.md)
- [phoneNumber](foundation/nstextcheckingresult/checkingtype/phonenumber.md)
- [transitInformation](foundation/nstextcheckingresult/checkingtype/transitinformation.md)
