HtmlExtensions.IpAddressPattern Field

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

A regular expression pattern for validating an IP adress.

public const string IpAddressPattern = "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"

Field value

string