> But that wasnt the question man =)
> you print '230107312001,32,192,239'
>
> but the question was to just have: '32,192,239'
>
> -10 cookie points! ;-)
Oops, being careless.
You could throw away .*?= first:
$_ = "Sat Jun 23 01:07:31 2001,bytes=32,time=192ms,TTL=239";
s/.*?=//g; # remove leading junk
s/[^\d,]//g; # remove all but digits and commas
print;
Can I get a cookie point or two back? Please? ;>
Otoh, I think the original suggestions are neater.
So I guess I'll have to get points on some other answers. ;>