encroacher
New Member
this pattern will get me all files that begin with a nr and it works perfectly.\[code\]glob("path_to_dir/^[0-9]*");\[/code\]but i want to have a pattern that gets me all files that ends with _thumbnail regardless file extension.eg.\[code\]1.jpg1_thumbnail.jpg2.jpg2_thumbnail.png\[/code\]will get me\[code\]1_thumbnail.jpg2_thumbnail.png\[/code\]i have tried:\[code\]glob("path_to_dir/(_thumbnail)");\[/code\]but it didnt work.would appreciate a little help.