Regular Expressions 101

Community Patterns

Community Library Entry

19

Regular Expression
PCRE (PHP <7.3)

/
(?P<group>(?P<starttag><(?P<tagname>p)[^>]*>)(?P<data>.*)(?P<endtag><\/\3>))
/
gm

Description

no description available

Submitted by Agustín Bouillet - 9 years ago