Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
<\w[^>]*>(?=<)|(?<=>)<\/\w[^>]*>
/
mg

Description

For stripping containers and leaving elements from an XML Message

Submitted by anonymous - 5 years ago