worked on regex dates