matchLinks Function
Returns a list of links from a text
matchLinks(text: string): { index: number, lastIndex: number, schema: string, url: string }[]
Parameter | Type | Description |
---|---|---|
text | string |
Returns - { index: number, lastIndex: number, schema: string, url: string }[]
Defined in
Last Updated: 20 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.