in reply to RE: Re: HTML Tag Remover
in thread HTML Tag Remover
#!/usr/bin/perl -w open FILE, "c:\\html\\test.html" || die "can't open file"; @text = <FILE>; $text = join( "", @text ); close FILE; #print $text; $text =~ s/>[>+]//g; # < -- Added this line $text =~ s/\<(.*?)\>//sg; print $text;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: Re: HTML Tag Remover
by merlyn (Sage) on Aug 07, 2000 at 04:56 UTC |