Skip to main content
Version: 3.5

extractUrls

Callable

  • extractUrls(options: ExtractUrlsOptions): string[]

  • Collects all URLs in an arbitrary string to an array, optionally using a custom regular expression.


    Parameters

    • options: ExtractUrlsOptions

    Returns string[]