Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?:[A-Za-z0-9_][A-Za-z0-9_\-]*(?:\.[A-Za-z0-9_\-]+)*\/)+[A-Za-z0-9_][A-Za-z0-9_\-]*(?:\.[A-Za-z0-9_\\-]+)*$
/
gm

Description

no description available

Submitted by anonymous - 8 years ago