HtmlExtensions.HostPattern Field

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

A regular expression pattern for validating a DNS host name.

public const string HostPattern = "^(?i:(([a-z0-9]|[a-z0-9][-a-z0-9]*[a-z0-9])\\.)*([a-z]|[a-z][-a-z0-9]*[a-z0-9]))$"

Field value

System.String