undef $/; while (<>) { s/(\.banner\.avery\.html\"\-\-\>)\n\s+<\/td>/$1<\/td>/; print; }