hello -
I am trying to search a <file> for any sentence that ends in "." or "?" I
want to only print those sentences that end with "." or "?" I am having
trouble with the reg expression syntax...
------------------
while (<file>)
{
$file=<file>;
if(/\.\?$/){
print "$only_sentences_that_end_with_._or_?";
}
}
-----------------
thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]