Last post Jul 11, 2008 12:07 PM by kirilminev
Jul 10, 2008 06:21 PM|kirilminev|LINK
I need to search for specific files in a folder and the file name will bi in the following patter: TT_2008_7_08.log .
I got the part figured out where I can just loop through the folder, but I am not sure how to search for this particular file since the name will be changing each day for example: from TT_2008_7_08.log the date will change on the middle (TT_xxxx_x_xx.log)
Can I somehow look for each file which has the pattern I need and avoid the middle part where the date goes in?
Thanks in advance.
Jul 10, 2008 07:05 PM|DarrellNorton|LINK
Jul 11, 2008 10:27 AM|kirilminev|LINK
Thanks I think will work for me. How about searching for the specific file name pattern? I am sure I can come up with search function with regular expressions, but I am not very familiar with regular expressions yet.
Jul 11, 2008 12:07 PM|kirilminev|LINK
I got it guys thanks.