http://www.perlmonks.org?node_id=183507


in reply to Re: Re: Re: checking the end of line
in thread checking the end of line

For a string 'stuff_here_then_12' ($path =~ /(\d+)$/)[0] captures the 12