Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
<\S*>([\s\S]*?)<\/\S*>
/

Description

This regexp extracts a value from any XML node string

Submitted by Andrew Kovalenko - 8 years ago