Prints "nowhere".$temp = "notfrom:nowhere"; # Match zero or more non-f characters followed by "from:" $temp =~ s/[^f]*from://; print "$temp\n";
In reply to Re: how to express $temp =~ s/.*?from://; in perl 4
by Anonymous Monk
in thread how to express $temp =~ s/.*?from://; in perl 4
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |