http://www.perlmonks.org?node_id=934149

zac_carl has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Need your help on this.I have following data and i want to remove xml tags on this.I want to get output like this

ABCD ABCD DEFG (if the line has two site names.
"<site>ABCD</site> <timestamp>20061201182407.825Z</timestamp>" "<site>ABCD</site> <timestamp>20061201182407.825Z</timestamp>" "<site>ABCD</site> <timestamp>20061201182407.825Z</timestamp>" "<site>ABCD</site> <timestamp>20061201182407.825Z</timestamp>" "<site>ABCD</site> <timestamp>20090819195525.418Z</timestamp> < +site>ABCD</site> <timestamp>20090819195525.419Z</timestamp>" "<site>ABCD</site> <timestamp>20070925153328.933Z</timestamp>" <site>ABCD</site><timestamp>20110214175730.608Z</timestamp> <site>ABCD</site><timestamp>20110214175730.608Z</timestamp>
Thanks for help