At 12:59 pm +0000 23/4/02, <[EMAIL PROTECTED]> wrote:
| I'm tring to do a pattern matching on this string but after many days no
|results.
|Is there someone who can help me.Many thanks
|
| Apr 21 01:03:01 pandora ipop3d[28245]: Login user=holy00

You don't say what you want to extract or change or whatever.  If you just
want to get the user, then do something like this:

        $s = q(Apr 21 01:03:01 pandora ipop3d[28245]: Login user=holy00);
        $user = substr ($s, 11 + index($s, "Login u"), -1);
        print "$user$/";

If not, you need to ask a longer question.

JD





Reply via email to