<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPasteboard/DetectionPattern/probableWebURL",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIPasteboardDetectionPatternProbableWebURL"
  },
  "title" : "probableWebURL"
}
-->

# probableWebURL

A pattern that indicates the pasteboard contains a string that consists of a URL.

```
static let probableWebURL: UIPasteboard.DetectionPattern
```

## Discussion

When you include this pattern in calls to [`detectValues(for:inItemSet:completionHandler:)`](/documentation/UIKit/UIPasteboard/detectValues(for:inItemSet:completionHandler:)-pm9l) or [`detectValues(for:completionHandler:)`](/documentation/UIKit/UIPasteboard/detectValues(for:completionHandler:)-6adre) — [`detectValuesForPatterns:inItemSet:completionHandler:`](/documentation/UIKit/UIPasteboard/detectValuesForPatterns:inItemSet:completionHandler:) or [`detectValuesForPatterns:completionHandler:`](/documentation/UIKit/UIPasteboard/detectValuesForPatterns:completionHandler:) in Objective-C — and the pasteboard detects a string that consists of a URL, it reports the value as an <doc://com.apple.documentation/documentation/Foundation/NSString>.

---

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)