Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(:?[_a-z]+[_a-z0-9-]*)
/
gmi

Description

Validate CSS Names

Submitted by emed - 3 years ago