Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
value="(?=<\?php)[^"]+"
/
g

Description

This regex is helpful to remove all <php ?> tags

Submitted by anonymous - 7 years ago