Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?![^<]*>)&ldquo;(.*?)(?<!=)&rdquo;(?!>)
/
g

Description

replace tag with doublequotes regex

Submitted by anonymous - 10 years ago