Adding answer to new question, using RegEx and TimeUnit
adding new answer