#!/usr/bin/perl -w use strict; open(F,"test.txt"); foreach(<F>){ if ($_ =~ /.*(\d\d).*(\d\w+)/){ print "$1 : $2 \n"; } } close F;
In reply to Re: reading from a text file
by tchatzi
in thread reading from a text file
by bory
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |