develooper Front page | perl.beginners | Postings from April 2002

Re:regexp needed

Thread Next
From:
Jorge Goncalvez
Date:
April 26, 2002 02:05
Subject:
Re:regexp needed
Message ID:
200204260905.LAA14357@cabs40.col.bsf.alcatel.fr
HI, I have a file like this:

.....
1015322638: in.tftpd : Win32 Process Id = 0xBF : Cygwin Process Id = 0xBF : RRQ 
from 192.40.54.42 filename /bootp/linux/4.0/alize/initrd.img  (in.tftpd)
......

And I wanted to match what is between from and filename ie 192.40.54.42 and what 
comes after filemane ie /bootp/linux/4.0/alize/initrd.img
 without (in.tftpd) 
 
 How can I do thanks to a regexp.
 Thanks.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About