in reply to Reguar expression

Ok, so here's a shorter one, lifting the regex shamelessly from chomzee and perhaps more to the taste of citromatik ? ;) with a text file that has quotes as well...

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

perliff

----------------------

-with perl on my side

"If you look at the code too long, the code also looks back at you"