Regular Expressions 101

Library entries

Between tags content

Vote

18

Regular Expression
pcre

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

Description

Loading markdown...
Submitted by Agustín Bouillet - 6 years ago