Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

@
class\s+\w+\s+extends\s+(\w+)\s+
@
mx

Description

to match extends in a class

Submitted by anonymous - 2 years ago