Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    my $parent = substr($regex, rindex($regex, $website));
    print $parent;
    
  2. or download this
    use strict;
    use warnings;
    ...
    my $tregex = uc($regex);
    my $parent = substr($regex, rindex(uc($regex), uc($website)));
    print $parent;