Regular Expressions 101

Library entries

Hostname validation

Vote

1

Regular Expression
golang

`
(?i)^(?:([a-z0-9-]+|\*)\.)?([a-z0-9-]{1,61})\.([a-z0-9]{2,7})$
`
gm

Description

Loading markdown...
Submitted by AnonymousDapper - 5 years ago