I have a text string like this:
<dt>
<span>
<tag:text name="fee" />
</span>
</dt>
...
<tag:text name="amount" />
what I want is to find all tags of type
<tag:text
and then collect a List with the values from the name element:
"fee"
"amount"
test with grep: