unless ( $file_names =~ m/\.html?$/i ) { ... } [download]
hope this helps,
In reply to Re: a lil help on file extension by CukiMnstr in thread a lil help on file extension by Anonymous Monk