HtmlExtensions.UriPattern Field

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

A regular expression pattern for parsing the components (scheme, host, path, query and fragment) of an url.

public const string UriPattern = "^((?<scheme>[^:/?#]+):)?(//(?<host>[^/?#]*))?(?<path>[^?#]*)(\\?(?<query>[^#]*))?(#(?<fragment>.*))?"

Field value

string