Regular Expressions 101

Community Patterns

Domain Name .CZ - only 2th level format

0

Regular Expression
PCRE (PHP <7.3)

/
(^[^\-][a-zA-Z0-9-]{3,63}\.cz$)
/

Description

Valid only for something.cz, some-thing.cz, 2245exampl.cz ... Not-valid for -some.cz, here.com.cz ...

Submitted by Pavel Ondřej - 9 years ago