"This is first sentence." "This is second sentence." #### open (INP,"data.txt") || die "Cannot open data.txt\n"; while () { print if (/^\"This\b/i and /\.\"$/ and !/\bfirst\b/i) }