in reply to Regex a little less greedy please
Parsing HTML/XML is somewhat tricky to do correctly (what with entities and all ... see Super Search for more info), but if you know that there will not be any >'s in the tag, you may want to use a regexp like ...
from the frivolous to the serious
m/<[^>]+>/
from the frivolous to the serious
|
---|
In Section
Seekers of Perl Wisdom