Help for this page

Select Code to Download


  1. or download this
    ^(http://[^/]*)
    
  2. or download this
    my $foo = "http://www.hostname.co.uk/foo/bar";
    print $foo =~ m#^(http://[^/]*)#;