Regular Expressions 101

Community Patterns

Find PHP short open tags

0

Regular Expression
PCRE2 (PHP >=7.3)

/
<\?(?!php|=|xml)
/
gm

Description

Find PHP short open tags

Submitted by anonymous - 3 years ago