HtmlExtensions.GetLinks Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

GetLinks(string)

Returns a string collection of links (<a href=""></a>) within the specified text.

public static ICollection<string> GetLinks(this string text)

Parameters

text
string

The text to parse.

Returns

System.Collections.Generic.ICollection

A string collection with the urls in the specified text.