in reply to regex-matching the date

looks Ok to me... and maybe you need to /^\w{3}\s\w{3}\s\d/ or check out time if you are doing this based on the time the script is running..


He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/