I've made below changes in ur program. Try it. I don't know whether i've understand ur problem correctly or not.
$fname = "C:\\EITV10CMD\\base\\detection\\basic\_detection\\Filename\\ +DOIFFILE.COM"; while (<FH>) { chomp; my $found; if($_ =~ /^\Q$fname\E/i) { chomp($_); /\s*(\.){3}\s*(.*?)$/; #Trying to extract everthing after ... $found = $2; }
Cheers
--CIn reply to Re: Matching and extracting from file.
by cognizant
in thread Matching and extracting from file.
by nisha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |