G
Geoff Cox
Hello,
I am trying to extract email addresses from about 1000 htm files.
So far am trying
if ($line =~ /Mailto
.*)"/ {
print OUT ("$1 \n");
where the line is
<a href="mailto:[email protected]"
problem is with the " after the email address and the "greedy" regex
characteristic which finds other " further along the line ...
can I stop at the first " mark?
Cheers
Geoff
I am trying to extract email addresses from about 1000 htm files.
So far am trying
if ($line =~ /Mailto
print OUT ("$1 \n");
where the line is
<a href="mailto:[email protected]"
problem is with the " after the email address and the "greedy" regex
characteristic which finds other " further along the line ...
can I stop at the first " mark?
Cheers
Geoff