Isn't
$probe =~ /^\d{5}TU|TD$/ [download]
$maid =~ /^\d{5}TU|TD$/ [download]
In reply to Re: separate data and print to two files by zwon in thread separate data and print to two files by lomSpace