Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
^[\pL_][\pL_\pNd]*$
/
gm

Description

PHP Basic coding standard Naming Convension pattern: /^[\pL_][\pL_\pNd]*$/

Submitted by Najmuddeen Mohammed - 8 years ago