Hi, I have a file like this: ........... SceInfEveryone = "Everyone" SceInfGuests = "Guests" SceInfGuest = "Guest" SceInfPowerUsers = "Power Users" SceInfPrintOp = "Print Operators" ......
And I wanted to extract Guest (without the quotes)i tried this: my $HISEFILE= "c:/hisecdc.inf"; open HISE,"< $HISEFILE" or die "je ne peux ouvrir $HISEFILE :$!"; while (<HISE>) { if (/SceInfGuest\s+:\s([0-9a-z]+);/i) { print "found $1 \n"; } } close HISE; It didn't worked why? What's wrong in my code? thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]