Regular Expressions 101

Extract all XML attribute names

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

/
<(\w*?)>
/
g

Description

Extracts attribute names from an XML file and presents them as a simple list. Affects all attributes, having or not having values. Includes the "parent" attributes (that have no values but have nested attributes).

Submitted by O.Khilkevych / D.Mrachkovskyi