in reply to Stripping part of URL

see perlintro#More complex regular expressions , perlrequick... my( $page ) =  $request_uri =~ m{/([^/]+)/$};