-------------------------------------------------------------- Perl Progress -------------------------------------------------------------- dannyd@cli> #### #!/usr/bin/perl open (FH, "test.txt"); while () { print "Match!!\n" if ($_ =~ /^-+\nBG/ms); } close (FH);