Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^((u|is|has|js)-([a-zA-Z0-9]*)|([A-Z][a-zA-Z0-9]*(__([a-z0-9][a-zA-Z0-9]*))?(--([a-z0-9][a-zA-Z0-9]*))?))(\\@([a-z0-9][a-zA-Z0-9]*))?$
/
gm

Description

no description available

Submitted by giacomozinetti - 9 years ago