Thanx for ur useful advice. Until u had told me I was unaware of the particular module.I have used HTML::Parser but in a different way.I have put my data in a particular file and then parsed it like given below
my $p = HTML::Parser->new(
text_h =>
,
);
#### my data into the particular file
$p->parse_file('try.txt') or die $!;
open FILE, ">output.txt" or die "Can't: $!\n";
sub text {
my $text = shift;
$output .= $text;
Anyhow Thanx once again