perl -le 'foreach $file qw(a.JPG b.exe c.gif d.png e.doc f.xls){ next +if $file !~ /\.(jpg|png|gif)$/i;print $file}' [download]
In reply to Re: Need 2 Regex's by suhailck in thread Need 2 Regex's by BlenderHead