Help for this page

Select Code to Download


  1. or download this
    print $1 if /\/([^/?]+)(:?\?.*)?$/;
  2. or download this
    print $1 if $path =~ /\/([^/]+)$/