open(FILE, "<myfile.txt"); while(<FILE>) { if(/Testnok/ .. /\>/) { print "$_"; } } close(FILE); [download]
In reply to Re: reading from a textfile by davidj in thread reading from a textfile by bory