print "$1\n" if $filename =~ m/\.([^.]+)$/; [download]
Dave
In reply to Re: regex to return file extensions by davido in thread regex to return file extensions by Anonymous Monk