Regular Expressions 101

Community Patterns

1

xxx-xxx-xxxx

ECMAScript (JavaScript)
☎️
Submitted by codefinity - 3 years ago

Hostname validation

3

Regular Expression
Golang

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

Description

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