in reply to Silly RegEx problem
while (<DATA>) { my ($one,$two); if ( /^\({\w+\s+\d+\})\s+(.*)/ ) { $one = $1; $two = $2; } print "ONE: $one\n"; print "TWO: $two\n"; } [download]
.02
cLive ;-)