#!/usr/local/bin/perl5 while ($l=) { $l =~ s/<[^>]*>//g; print $l; }