Community Patterns

Community Library Entry

13

Regular Expression
Created·2013-02-05 09:18
Flavor·PCRE (Legacy)

/
[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*
/
Open regex in editor

Description

Valid PHP variable name as defined in the manual at http://php.net/manual/en/language.variables.basics.php

Submitted by Erin Millard