Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^\'(a|A)ctive(.*)(true|false)\;$
/
gm

Description

'active' => true; 'active'=> true; 'active' =>true; 'active'=>true; 'active' => false; 'active'=> false; 'active' =>false; 'active'=>false;

Submitted by Saurabh - 4 years ago