- or download this
use FileHandle;
my $htmlfile = new FileHandle("XXX.html", "r") ;
while ($line = <$htmlfile>) { # process each line
- or download this
<a class= ----> <div class="main-button-wrapper"><a class= or
<\a> ----> <\a><\div>
- or download this
$line =~ s/<\/a>/<\/a><\/div>/;