Hi, I have a string similar to: Comment: FILING ****------------------------------------------------------------------------****
This is read in as one line (with the page feed). I was trying to whatever follows the words and I tried this. if (/(\w+:?\s*\w*:?)+(.*?\*+\s*-+\s*\*+\s*$)/) { s/$2//; } I am getting errors as the program runs (Windows Perl 5.6.0) The program bombs, displays $_ and then, /: nested *?+ in regexp at etc. I tried taking out some of the pattern to pin point the error, and different errors happened. Any suggestions? Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>