Community Patterns

Community Library Entry

-1

Regular Expression
Created·2016-01-07 11:17
Flavor·PCRE (Legacy)

/
((<([a-zA-Z0-9]*:)*matchNode[^>]*)\/\s*>)|(((<([a-zA-Z0-9]*:)*matchNode[\s\S]*?)>(([\s\S]*?)))<\/([a-zA-Z0-9]*:)*matchNode>)
/
g
Open regex in editor

Description

This regex matches opening and closing tags in XML (including attributes) and is used to "hide" the value of the node.

Submitted by Marc Fellman