Regular expression 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:11 UTC
Read the original article Hit count: 273

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