# each table consists of three lines: # the tag (nothing else) on one line # all ... (nothing else) on the next line # the
content
tag (nothing else) on the third line my ($open,$content); my $Txt = ''; while (<>) { if ( // ) { s/
/\n/gi unless ( /id="CODE"/ ); } $Txt .= $_; }