in reply to Regexp Question

Even simpler: $data =~ /([\w\:]+)(.*)/;

Replies are listed 'Best First'.
Re: Re: Regexp Question
by jacques (Priest) on Aug 12, 2003 at 23:44 UTC
    I saw that sneaky update. I guess I was thinking too hard without first properly examining the problem.

    Thanks.