Is there a regular expression in Perl to find a file's extension?

Posted by Zerobu on Stack Overflow See other posts from Stack Overflow or by Zerobu
Published on 2010-03-18T01:10:39Z Indexed on 2010/03/18 2:21 UTC
Read the original article Hit count: 313

Filed under:

Is there a regular expression in Perl to find a file's extension? For example, if I have "test.exe", how would I get the ".exe"?

© Stack Overflow or respective owner

Related posts about perl