hi guys,
I am using a regular expression to search for file extension i dont want .Dll files to pass through the loop but .Doc files to go through but i cant figure out dll is getting through if i use .doc files the loop is
if($filename=~/(\.[htm|html|txt|pdf|ppt|csv|doc]{3,4})\b/i) { }
please help me
Code tags added by GrandFather
In reply to perl regular expression by arunmep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |