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..