<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEURLFilterManager/urlParsingRegularExpression",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "s:16NetworkExtension18NEURLFilterManagerC27urlParsingRegularExpressionSSSgvp"
  },
  "title" : "urlParsingRegularExpression"
}
-->

# urlParsingRegularExpression

A regular expression used for advanced URL parsing.

```
var urlParsingRegularExpression: String? { get }
```

## Discussion

This property is read-only.
To set a regular expression for use in parsing, call [`setURLParsingRegularExpression(_:)`](/documentation/NetworkExtension/NEURLFilterManager/setURLParsingRegularExpression(_:)), which validates the pattern.

Setting a regular expression allows you to perform custom URL parsing patterns beyond the standard parsing options.
The filter uses the regular expression to parse the URL before matching against the specified data set.

URL parsing with a regular expression is case insensitive.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)