Help for this page

Select Code to Download


  1. or download this
      '/a/b/c/d/e/abc00000'
    
  2. or download this
      my $s = '/a/b/c/d/e/abc00000';
      my ($id) = $s =~ m{/(.+?\d+)$};
    ...
    
      __OUTPUT__
      a/b/c/d/e/abc00000
    
  3. or download this
      my ($id) = $s =~ m{/([^/]+\d+)$};