[ic] help pulling info from URL

Grant interchange-users@icdevgroup.org
Fri Nov 1 22:19:00 2002


>[perl]
>    @{$Scratch}{'pstn2','pstn3'} = (split('/',$Session->{last_url}))[2,3];
>    $Scratch->{pstn3} =~ s/(.*?)\.html?/$1/;
>[/perl]
>
>[scratch pstn2], [scratch pstn3]

Thanks Ryan, that removes the .html put not the p.  I need just the number.
I need to turn "p1.html" into just "1" or "p99.html" into "99".  Almost
there....

- Grant