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 GetLinks(this string text)

Parameters

text
System.String

Returns

System.Collections.Generic.ICollection{System.String}

A string collection with the urls in the specified text.