Help for this page
# ... if ( $file =~ /$start_pattern(.*?)$end_pattern/s ) { print $1; } # ...
# while ( $file =~ /start_pattern(.*?)$end_pattern/gs ) { print "$1\n"; } #