Help for this page

Select Code to Download


  1. or download this
    # method 1
    @matches = $string =~ m{/(.*?)/}g;
    ...
    
    # print the one you want
    print $matches[1];