HtmlExtensions.RootRelativeUrlPattern Field

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

A regular expression pattern for finding root-relative urls in html.

public const string RootRelativeUrlPattern = "(?\\shref|\\ssrc|\\sbackground)\\s*?=\\s*?(?[\"'\\\\]{0,2})(?!#|http|ftp|mailto|javascript)(?/[^\"'>\\\\]*)(?[\"'\\\\]{0,2})"

Field value

System.String