Dear Sirs, I have long text file looks like :
" xxx xx x x xxx xx xx xx x x x xx yes xx x xx x x x x yes sir xxx xxx xx x x xxx x xx no xx x x x x no sir xxx xxxx x x x " I want to cut and use between "yes sir" and "no sir" section. I tried to use, $_ = "@data"; /yes sir/; print $'; it does not work with multi word. If I use only "yes" that is working. But when I use multi word it is not working. But as you see I have more than one "yes" in text. I need execly "yes sir". How can I do? Best Regards _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activeperl