in reply to reading from a text file
Your second regex does not match because of a space between the [45]TEST and and the rest of the line in the input. Try this regex:
/EQT.FIRST.eqtID_(\d+).allowedType:\s+([A-Z0-9])+)/
Notice the extra \s+ (match 1 or more whitespace characters).
CU
Robartes-
|
---|
In Section
Seekers of Perl Wisdom