if ($newline =~ /http/i) { $newline =~ s/http\:\/\//\)|\=|\"|(href)|(\$page\<\/a\>/; } print "" . $newline . "";