Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(?:(?![×Þß÷þø])[-0-9a--ÿ.])+\.(?:[a-z])+?$
/
igm

Description

isDomainValid

Submitted by anonymous - 9 years ago