Try this....
############################
open(FILE ,"c:/file.txt");
while(<FILE>){
while(/Description[\.\s]*:(.+)/ig){
print "$1\n";
}
}
###############################
Raju
> ----------
> From: Jorge Goncalvez[SMTP:[EMAIL PROTECTED]]
> Reply To: Jorge Goncalvez
> Sent: Thursday, November 08, 2001 7:21 PM
> To: [EMAIL PROTECTED]
> Subject: [PBML] Re: Regex needed
>
>
> Hi, I have to parse a file with this lines in it:
> Description . . . . . . . . : Intel 82557-based Integrated Fast Ethernet
> ..................................
> Description . . . . . . . . : 3Com EtherLink III I
>
>
> How can I do to have what is after the : ie Intel 82557-based Integrated
> Fast
> Ethernet and 3Com EtherLink III I.with a regex.
>
>
> Thanks
>
>
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]