in reply to pattern matching

Supplementing FunkyMonks reply, assuming you want a one-liner to scan a file and print any matching line, you want
perl -ne 'print if /[A-Z]{2,5}\d{5}/' some_file
In addition to the references provided by FunkyMonk, also look at perlrun.

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^2: pattern matching
by Spooky (Beadle) on Apr 10, 2009 at 12:19 UTC
    ..excellent ..thanks!